@vrplatform/api 1.2.33-stage.883 → 1.2.33-stage.884

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.
@@ -2414,66 +2414,11 @@ export interface operations {
2414
2414
  /** @enum {string|null} */
2415
2415
  status: "active" | "inactive" | null;
2416
2416
  account?: {
2417
+ id: string;
2417
2418
  name: string;
2418
- /** @enum {string|null} */
2419
- status?: "active" | "inactive" | null;
2419
+ uniqueRef?: string | null;
2420
2420
  /** @enum {string} */
2421
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
2422
- id: string;
2423
- offsetAccount?: {
2424
- id: string;
2425
- name: string;
2426
- } | null;
2427
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
2428
- category?: {
2429
- id: string;
2430
- name: string;
2431
- /** @enum {string|null} */
2432
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
2433
- } | null;
2434
- banking?: {
2435
- /** @enum {string|null} */
2436
- category?: "trust" | "operating" | "external" | null;
2437
- /** @enum {string|null} */
2438
- type?: "deposit" | "creditCard" | null;
2439
- last4?: string | null;
2440
- currency?: string | null;
2441
- connections: {
2442
- id: string;
2443
- name: string;
2444
- connection?: {
2445
- id: string;
2446
- icon?: string | null;
2447
- } | null;
2448
- /** @enum {string|null} */
2449
- status?: "active" | "inactive" | null;
2450
- currentSync?: {
2451
- /** @enum {string} */
2452
- status: "queued" | "started" | "completed" | "failed" | "canceled";
2453
- createdAt: string;
2454
- updatedAt: string;
2455
- message?: string | null;
2456
- } | null;
2457
- source?: {
2458
- /** Format: uuid */
2459
- id: string;
2460
- type: string;
2461
- /** @enum {string|null} */
2462
- status?: "active" | "inactive" | null;
2463
- } | null;
2464
- }[];
2465
- bankRecords: {
2466
- reconciled: number;
2467
- unreconciled: number;
2468
- total: number;
2469
- latestCreatedAt?: string | null;
2470
- };
2471
- balance?: {
2472
- openingDate?: string | null;
2473
- opening: number;
2474
- ending: number;
2475
- } | null;
2476
- } | null;
2421
+ status: "active" | "inactive";
2477
2422
  } | null;
2478
2423
  source?: {
2479
2424
  /** Format: uuid */
@@ -2579,66 +2524,11 @@ export interface operations {
2579
2524
  /** @enum {string|null} */
2580
2525
  status: "active" | "inactive" | null;
2581
2526
  account?: {
2527
+ id: string;
2582
2528
  name: string;
2583
- /** @enum {string|null} */
2584
- status?: "active" | "inactive" | null;
2529
+ uniqueRef?: string | null;
2585
2530
  /** @enum {string} */
2586
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
2587
- id: string;
2588
- offsetAccount?: {
2589
- id: string;
2590
- name: string;
2591
- } | null;
2592
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
2593
- category?: {
2594
- id: string;
2595
- name: string;
2596
- /** @enum {string|null} */
2597
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
2598
- } | null;
2599
- banking?: {
2600
- /** @enum {string|null} */
2601
- category?: "trust" | "operating" | "external" | null;
2602
- /** @enum {string|null} */
2603
- type?: "deposit" | "creditCard" | null;
2604
- last4?: string | null;
2605
- currency?: string | null;
2606
- connections: {
2607
- id: string;
2608
- name: string;
2609
- connection?: {
2610
- id: string;
2611
- icon?: string | null;
2612
- } | null;
2613
- /** @enum {string|null} */
2614
- status?: "active" | "inactive" | null;
2615
- currentSync?: {
2616
- /** @enum {string} */
2617
- status: "queued" | "started" | "completed" | "failed" | "canceled";
2618
- createdAt: string;
2619
- updatedAt: string;
2620
- message?: string | null;
2621
- } | null;
2622
- source?: {
2623
- /** Format: uuid */
2624
- id: string;
2625
- type: string;
2626
- /** @enum {string|null} */
2627
- status?: "active" | "inactive" | null;
2628
- } | null;
2629
- }[];
2630
- bankRecords: {
2631
- reconciled: number;
2632
- unreconciled: number;
2633
- total: number;
2634
- latestCreatedAt?: string | null;
2635
- };
2636
- balance?: {
2637
- openingDate?: string | null;
2638
- opening: number;
2639
- ending: number;
2640
- } | null;
2641
- } | null;
2531
+ status: "active" | "inactive";
2642
2532
  } | null;
2643
2533
  source?: {
2644
2534
  /** Format: uuid */
@@ -3024,66 +2914,11 @@ export interface operations {
3024
2914
  [key: string]: unknown;
3025
2915
  } | null;
3026
2916
  account?: {
2917
+ id: string;
3027
2918
  name: string;
3028
- /** @enum {string|null} */
3029
- status?: "active" | "inactive" | null;
2919
+ uniqueRef?: string | null;
3030
2920
  /** @enum {string} */
3031
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
3032
- id: string;
3033
- offsetAccount?: {
3034
- id: string;
3035
- name: string;
3036
- } | null;
3037
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
3038
- category?: {
3039
- id: string;
3040
- name: string;
3041
- /** @enum {string|null} */
3042
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
3043
- } | null;
3044
- banking?: {
3045
- /** @enum {string|null} */
3046
- category?: "trust" | "operating" | "external" | null;
3047
- /** @enum {string|null} */
3048
- type?: "deposit" | "creditCard" | null;
3049
- last4?: string | null;
3050
- currency?: string | null;
3051
- connections: {
3052
- id: string;
3053
- name: string;
3054
- connection?: {
3055
- id: string;
3056
- icon?: string | null;
3057
- } | null;
3058
- /** @enum {string|null} */
3059
- status?: "active" | "inactive" | null;
3060
- currentSync?: {
3061
- /** @enum {string} */
3062
- status: "queued" | "started" | "completed" | "failed" | "canceled";
3063
- createdAt: string;
3064
- updatedAt: string;
3065
- message?: string | null;
3066
- } | null;
3067
- source?: {
3068
- /** Format: uuid */
3069
- id: string;
3070
- type: string;
3071
- /** @enum {string|null} */
3072
- status?: "active" | "inactive" | null;
3073
- } | null;
3074
- }[];
3075
- bankRecords: {
3076
- reconciled: number;
3077
- unreconciled: number;
3078
- total: number;
3079
- latestCreatedAt?: string | null;
3080
- };
3081
- balance?: {
3082
- openingDate?: string | null;
3083
- opening: number;
3084
- ending: number;
3085
- } | null;
3086
- } | null;
2921
+ status: "active" | "inactive";
3087
2922
  } | null;
3088
2923
  isExcluded?: boolean | null;
3089
2924
  }[];
@@ -3192,66 +3027,11 @@ export interface operations {
3192
3027
  [key: string]: unknown;
3193
3028
  } | null;
3194
3029
  account?: {
3030
+ id: string;
3195
3031
  name: string;
3196
- /** @enum {string|null} */
3197
- status?: "active" | "inactive" | null;
3032
+ uniqueRef?: string | null;
3198
3033
  /** @enum {string} */
3199
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
3200
- id: string;
3201
- offsetAccount?: {
3202
- id: string;
3203
- name: string;
3204
- } | null;
3205
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
3206
- category?: {
3207
- id: string;
3208
- name: string;
3209
- /** @enum {string|null} */
3210
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
3211
- } | null;
3212
- banking?: {
3213
- /** @enum {string|null} */
3214
- category?: "trust" | "operating" | "external" | null;
3215
- /** @enum {string|null} */
3216
- type?: "deposit" | "creditCard" | null;
3217
- last4?: string | null;
3218
- currency?: string | null;
3219
- connections: {
3220
- id: string;
3221
- name: string;
3222
- connection?: {
3223
- id: string;
3224
- icon?: string | null;
3225
- } | null;
3226
- /** @enum {string|null} */
3227
- status?: "active" | "inactive" | null;
3228
- currentSync?: {
3229
- /** @enum {string} */
3230
- status: "queued" | "started" | "completed" | "failed" | "canceled";
3231
- createdAt: string;
3232
- updatedAt: string;
3233
- message?: string | null;
3234
- } | null;
3235
- source?: {
3236
- /** Format: uuid */
3237
- id: string;
3238
- type: string;
3239
- /** @enum {string|null} */
3240
- status?: "active" | "inactive" | null;
3241
- } | null;
3242
- }[];
3243
- bankRecords: {
3244
- reconciled: number;
3245
- unreconciled: number;
3246
- total: number;
3247
- latestCreatedAt?: string | null;
3248
- };
3249
- balance?: {
3250
- openingDate?: string | null;
3251
- opening: number;
3252
- ending: number;
3253
- } | null;
3254
- } | null;
3034
+ status: "active" | "inactive";
3255
3035
  } | null;
3256
3036
  isExcluded?: boolean | null;
3257
3037
  }[];
@@ -3400,66 +3180,11 @@ export interface operations {
3400
3180
  [key: string]: unknown;
3401
3181
  } | null;
3402
3182
  account?: {
3183
+ id: string;
3403
3184
  name: string;
3404
- /** @enum {string|null} */
3405
- status?: "active" | "inactive" | null;
3185
+ uniqueRef?: string | null;
3406
3186
  /** @enum {string} */
3407
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
3408
- id: string;
3409
- offsetAccount?: {
3410
- id: string;
3411
- name: string;
3412
- } | null;
3413
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
3414
- category?: {
3415
- id: string;
3416
- name: string;
3417
- /** @enum {string|null} */
3418
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
3419
- } | null;
3420
- banking?: {
3421
- /** @enum {string|null} */
3422
- category?: "trust" | "operating" | "external" | null;
3423
- /** @enum {string|null} */
3424
- type?: "deposit" | "creditCard" | null;
3425
- last4?: string | null;
3426
- currency?: string | null;
3427
- connections: {
3428
- id: string;
3429
- name: string;
3430
- connection?: {
3431
- id: string;
3432
- icon?: string | null;
3433
- } | null;
3434
- /** @enum {string|null} */
3435
- status?: "active" | "inactive" | null;
3436
- currentSync?: {
3437
- /** @enum {string} */
3438
- status: "queued" | "started" | "completed" | "failed" | "canceled";
3439
- createdAt: string;
3440
- updatedAt: string;
3441
- message?: string | null;
3442
- } | null;
3443
- source?: {
3444
- /** Format: uuid */
3445
- id: string;
3446
- type: string;
3447
- /** @enum {string|null} */
3448
- status?: "active" | "inactive" | null;
3449
- } | null;
3450
- }[];
3451
- bankRecords: {
3452
- reconciled: number;
3453
- unreconciled: number;
3454
- total: number;
3455
- latestCreatedAt?: string | null;
3456
- };
3457
- balance?: {
3458
- openingDate?: string | null;
3459
- opening: number;
3460
- ending: number;
3461
- } | null;
3462
- } | null;
3187
+ status: "active" | "inactive";
3463
3188
  } | null;
3464
3189
  isExcluded?: boolean | null;
3465
3190
  }[];
@@ -3647,66 +3372,11 @@ export interface operations {
3647
3372
  [key: string]: unknown;
3648
3373
  } | null;
3649
3374
  account?: {
3375
+ id: string;
3650
3376
  name: string;
3651
- /** @enum {string|null} */
3652
- status?: "active" | "inactive" | null;
3377
+ uniqueRef?: string | null;
3653
3378
  /** @enum {string} */
3654
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
3655
- id: string;
3656
- offsetAccount?: {
3657
- id: string;
3658
- name: string;
3659
- } | null;
3660
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
3661
- category?: {
3662
- id: string;
3663
- name: string;
3664
- /** @enum {string|null} */
3665
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
3666
- } | null;
3667
- banking?: {
3668
- /** @enum {string|null} */
3669
- category?: "trust" | "operating" | "external" | null;
3670
- /** @enum {string|null} */
3671
- type?: "deposit" | "creditCard" | null;
3672
- last4?: string | null;
3673
- currency?: string | null;
3674
- connections: {
3675
- id: string;
3676
- name: string;
3677
- connection?: {
3678
- id: string;
3679
- icon?: string | null;
3680
- } | null;
3681
- /** @enum {string|null} */
3682
- status?: "active" | "inactive" | null;
3683
- currentSync?: {
3684
- /** @enum {string} */
3685
- status: "queued" | "started" | "completed" | "failed" | "canceled";
3686
- createdAt: string;
3687
- updatedAt: string;
3688
- message?: string | null;
3689
- } | null;
3690
- source?: {
3691
- /** Format: uuid */
3692
- id: string;
3693
- type: string;
3694
- /** @enum {string|null} */
3695
- status?: "active" | "inactive" | null;
3696
- } | null;
3697
- }[];
3698
- bankRecords: {
3699
- reconciled: number;
3700
- unreconciled: number;
3701
- total: number;
3702
- latestCreatedAt?: string | null;
3703
- };
3704
- balance?: {
3705
- openingDate?: string | null;
3706
- opening: number;
3707
- ending: number;
3708
- } | null;
3709
- } | null;
3379
+ status: "active" | "inactive";
3710
3380
  } | null;
3711
3381
  isExcluded?: boolean | null;
3712
3382
  }[];
@@ -3865,66 +3535,11 @@ export interface operations {
3865
3535
  [key: string]: unknown;
3866
3536
  } | null;
3867
3537
  account?: {
3538
+ id: string;
3868
3539
  name: string;
3869
- /** @enum {string|null} */
3870
- status?: "active" | "inactive" | null;
3540
+ uniqueRef?: string | null;
3871
3541
  /** @enum {string} */
3872
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
3873
- id: string;
3874
- offsetAccount?: {
3875
- id: string;
3876
- name: string;
3877
- } | null;
3878
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
3879
- category?: {
3880
- id: string;
3881
- name: string;
3882
- /** @enum {string|null} */
3883
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
3884
- } | null;
3885
- banking?: {
3886
- /** @enum {string|null} */
3887
- category?: "trust" | "operating" | "external" | null;
3888
- /** @enum {string|null} */
3889
- type?: "deposit" | "creditCard" | null;
3890
- last4?: string | null;
3891
- currency?: string | null;
3892
- connections: {
3893
- id: string;
3894
- name: string;
3895
- connection?: {
3896
- id: string;
3897
- icon?: string | null;
3898
- } | null;
3899
- /** @enum {string|null} */
3900
- status?: "active" | "inactive" | null;
3901
- currentSync?: {
3902
- /** @enum {string} */
3903
- status: "queued" | "started" | "completed" | "failed" | "canceled";
3904
- createdAt: string;
3905
- updatedAt: string;
3906
- message?: string | null;
3907
- } | null;
3908
- source?: {
3909
- /** Format: uuid */
3910
- id: string;
3911
- type: string;
3912
- /** @enum {string|null} */
3913
- status?: "active" | "inactive" | null;
3914
- } | null;
3915
- }[];
3916
- bankRecords: {
3917
- reconciled: number;
3918
- unreconciled: number;
3919
- total: number;
3920
- latestCreatedAt?: string | null;
3921
- };
3922
- balance?: {
3923
- openingDate?: string | null;
3924
- opening: number;
3925
- ending: number;
3926
- } | null;
3927
- } | null;
3542
+ status: "active" | "inactive";
3928
3543
  } | null;
3929
3544
  isExcluded?: boolean | null;
3930
3545
  }[];
@@ -4476,6 +4091,9 @@ export interface operations {
4476
4091
  account?: {
4477
4092
  id: string;
4478
4093
  name: string;
4094
+ uniqueRef?: string | null;
4095
+ /** @enum {string} */
4096
+ status: "active" | "inactive";
4479
4097
  /** @enum {string} */
4480
4098
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4481
4099
  } | null;
@@ -4495,11 +4113,9 @@ export interface operations {
4495
4113
  account?: {
4496
4114
  id: string;
4497
4115
  name: string;
4498
- bankAccount?: {
4499
- /** Format: uuid */
4500
- id?: string | null;
4501
- name: string;
4502
- } | null;
4116
+ uniqueRef?: string | null;
4117
+ /** @enum {string} */
4118
+ status: "active" | "inactive";
4503
4119
  } | null;
4504
4120
  date: string;
4505
4121
  description: string;
@@ -4587,66 +4203,11 @@ export interface operations {
4587
4203
  [key: string]: unknown;
4588
4204
  } | null;
4589
4205
  account?: {
4206
+ id: string;
4590
4207
  name: string;
4591
- /** @enum {string|null} */
4592
- status?: "active" | "inactive" | null;
4208
+ uniqueRef?: string | null;
4593
4209
  /** @enum {string} */
4594
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4595
- id: string;
4596
- offsetAccount?: {
4597
- id: string;
4598
- name: string;
4599
- } | null;
4600
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
4601
- category?: {
4602
- id: string;
4603
- name: string;
4604
- /** @enum {string|null} */
4605
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
4606
- } | null;
4607
- banking?: {
4608
- /** @enum {string|null} */
4609
- category?: "trust" | "operating" | "external" | null;
4610
- /** @enum {string|null} */
4611
- type?: "deposit" | "creditCard" | null;
4612
- last4?: string | null;
4613
- currency?: string | null;
4614
- connections: {
4615
- id: string;
4616
- name: string;
4617
- connection?: {
4618
- id: string;
4619
- icon?: string | null;
4620
- } | null;
4621
- /** @enum {string|null} */
4622
- status?: "active" | "inactive" | null;
4623
- currentSync?: {
4624
- /** @enum {string} */
4625
- status: "queued" | "started" | "completed" | "failed" | "canceled";
4626
- createdAt: string;
4627
- updatedAt: string;
4628
- message?: string | null;
4629
- } | null;
4630
- source?: {
4631
- /** Format: uuid */
4632
- id: string;
4633
- type: string;
4634
- /** @enum {string|null} */
4635
- status?: "active" | "inactive" | null;
4636
- } | null;
4637
- }[];
4638
- bankRecords: {
4639
- reconciled: number;
4640
- unreconciled: number;
4641
- total: number;
4642
- latestCreatedAt?: string | null;
4643
- };
4644
- balance?: {
4645
- openingDate?: string | null;
4646
- opening: number;
4647
- ending: number;
4648
- } | null;
4649
- } | null;
4210
+ status: "active" | "inactive";
4650
4211
  } | null;
4651
4212
  isExcluded?: boolean | null;
4652
4213
  }[];
@@ -4664,66 +4225,11 @@ export interface operations {
4664
4225
  /** @enum {string|null} */
4665
4226
  party?: "owners" | "manager" | null;
4666
4227
  account?: {
4228
+ id: string;
4667
4229
  name: string;
4668
- /** @enum {string|null} */
4669
- status?: "active" | "inactive" | null;
4230
+ uniqueRef?: string | null;
4670
4231
  /** @enum {string} */
4671
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4672
- id: string;
4673
- offsetAccount?: {
4674
- id: string;
4675
- name: string;
4676
- } | null;
4677
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
4678
- category?: {
4679
- id: string;
4680
- name: string;
4681
- /** @enum {string|null} */
4682
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
4683
- } | null;
4684
- banking?: {
4685
- /** @enum {string|null} */
4686
- category?: "trust" | "operating" | "external" | null;
4687
- /** @enum {string|null} */
4688
- type?: "deposit" | "creditCard" | null;
4689
- last4?: string | null;
4690
- currency?: string | null;
4691
- connections: {
4692
- id: string;
4693
- name: string;
4694
- connection?: {
4695
- id: string;
4696
- icon?: string | null;
4697
- } | null;
4698
- /** @enum {string|null} */
4699
- status?: "active" | "inactive" | null;
4700
- currentSync?: {
4701
- /** @enum {string} */
4702
- status: "queued" | "started" | "completed" | "failed" | "canceled";
4703
- createdAt: string;
4704
- updatedAt: string;
4705
- message?: string | null;
4706
- } | null;
4707
- source?: {
4708
- /** Format: uuid */
4709
- id: string;
4710
- type: string;
4711
- /** @enum {string|null} */
4712
- status?: "active" | "inactive" | null;
4713
- } | null;
4714
- }[];
4715
- bankRecords: {
4716
- reconciled: number;
4717
- unreconciled: number;
4718
- total: number;
4719
- latestCreatedAt?: string | null;
4720
- };
4721
- balance?: {
4722
- openingDate?: string | null;
4723
- opening: number;
4724
- ending: number;
4725
- } | null;
4726
- } | null;
4232
+ status: "active" | "inactive";
4727
4233
  } | null;
4728
4234
  recurringFee?: {
4729
4235
  id: string;
@@ -4963,6 +4469,9 @@ export interface operations {
4963
4469
  account?: {
4964
4470
  id: string;
4965
4471
  name: string;
4472
+ uniqueRef?: string | null;
4473
+ /** @enum {string} */
4474
+ status: "active" | "inactive";
4966
4475
  /** @enum {string} */
4967
4476
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4968
4477
  } | null;
@@ -4982,11 +4491,9 @@ export interface operations {
4982
4491
  account?: {
4983
4492
  id: string;
4984
4493
  name: string;
4985
- bankAccount?: {
4986
- /** Format: uuid */
4987
- id?: string | null;
4988
- name: string;
4989
- } | null;
4494
+ uniqueRef?: string | null;
4495
+ /** @enum {string} */
4496
+ status: "active" | "inactive";
4990
4497
  } | null;
4991
4498
  date: string;
4992
4499
  description: string;
@@ -5074,66 +4581,11 @@ export interface operations {
5074
4581
  [key: string]: unknown;
5075
4582
  } | null;
5076
4583
  account?: {
4584
+ id: string;
5077
4585
  name: string;
5078
- /** @enum {string|null} */
5079
- status?: "active" | "inactive" | null;
4586
+ uniqueRef?: string | null;
5080
4587
  /** @enum {string} */
5081
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
5082
- id: string;
5083
- offsetAccount?: {
5084
- id: string;
5085
- name: string;
5086
- } | null;
5087
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
5088
- category?: {
5089
- id: string;
5090
- name: string;
5091
- /** @enum {string|null} */
5092
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
5093
- } | null;
5094
- banking?: {
5095
- /** @enum {string|null} */
5096
- category?: "trust" | "operating" | "external" | null;
5097
- /** @enum {string|null} */
5098
- type?: "deposit" | "creditCard" | null;
5099
- last4?: string | null;
5100
- currency?: string | null;
5101
- connections: {
5102
- id: string;
5103
- name: string;
5104
- connection?: {
5105
- id: string;
5106
- icon?: string | null;
5107
- } | null;
5108
- /** @enum {string|null} */
5109
- status?: "active" | "inactive" | null;
5110
- currentSync?: {
5111
- /** @enum {string} */
5112
- status: "queued" | "started" | "completed" | "failed" | "canceled";
5113
- createdAt: string;
5114
- updatedAt: string;
5115
- message?: string | null;
5116
- } | null;
5117
- source?: {
5118
- /** Format: uuid */
5119
- id: string;
5120
- type: string;
5121
- /** @enum {string|null} */
5122
- status?: "active" | "inactive" | null;
5123
- } | null;
5124
- }[];
5125
- bankRecords: {
5126
- reconciled: number;
5127
- unreconciled: number;
5128
- total: number;
5129
- latestCreatedAt?: string | null;
5130
- };
5131
- balance?: {
5132
- openingDate?: string | null;
5133
- opening: number;
5134
- ending: number;
5135
- } | null;
5136
- } | null;
4588
+ status: "active" | "inactive";
5137
4589
  } | null;
5138
4590
  isExcluded?: boolean | null;
5139
4591
  }[];
@@ -5151,66 +4603,11 @@ export interface operations {
5151
4603
  /** @enum {string|null} */
5152
4604
  party?: "owners" | "manager" | null;
5153
4605
  account?: {
4606
+ id: string;
5154
4607
  name: string;
5155
- /** @enum {string|null} */
5156
- status?: "active" | "inactive" | null;
4608
+ uniqueRef?: string | null;
5157
4609
  /** @enum {string} */
5158
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
5159
- id: string;
5160
- offsetAccount?: {
5161
- id: string;
5162
- name: string;
5163
- } | null;
5164
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
5165
- category?: {
5166
- id: string;
5167
- name: string;
5168
- /** @enum {string|null} */
5169
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
5170
- } | null;
5171
- banking?: {
5172
- /** @enum {string|null} */
5173
- category?: "trust" | "operating" | "external" | null;
5174
- /** @enum {string|null} */
5175
- type?: "deposit" | "creditCard" | null;
5176
- last4?: string | null;
5177
- currency?: string | null;
5178
- connections: {
5179
- id: string;
5180
- name: string;
5181
- connection?: {
5182
- id: string;
5183
- icon?: string | null;
5184
- } | null;
5185
- /** @enum {string|null} */
5186
- status?: "active" | "inactive" | null;
5187
- currentSync?: {
5188
- /** @enum {string} */
5189
- status: "queued" | "started" | "completed" | "failed" | "canceled";
5190
- createdAt: string;
5191
- updatedAt: string;
5192
- message?: string | null;
5193
- } | null;
5194
- source?: {
5195
- /** Format: uuid */
5196
- id: string;
5197
- type: string;
5198
- /** @enum {string|null} */
5199
- status?: "active" | "inactive" | null;
5200
- } | null;
5201
- }[];
5202
- bankRecords: {
5203
- reconciled: number;
5204
- unreconciled: number;
5205
- total: number;
5206
- latestCreatedAt?: string | null;
5207
- };
5208
- balance?: {
5209
- openingDate?: string | null;
5210
- opening: number;
5211
- ending: number;
5212
- } | null;
5213
- } | null;
4610
+ status: "active" | "inactive";
5214
4611
  } | null;
5215
4612
  recurringFee?: {
5216
4613
  id: string;
@@ -5531,6 +4928,9 @@ export interface operations {
5531
4928
  account?: {
5532
4929
  id: string;
5533
4930
  name: string;
4931
+ uniqueRef?: string | null;
4932
+ /** @enum {string} */
4933
+ status: "active" | "inactive";
5534
4934
  /** @enum {string} */
5535
4935
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
5536
4936
  } | null;
@@ -5550,11 +4950,9 @@ export interface operations {
5550
4950
  account?: {
5551
4951
  id: string;
5552
4952
  name: string;
5553
- bankAccount?: {
5554
- /** Format: uuid */
5555
- id?: string | null;
5556
- name: string;
5557
- } | null;
4953
+ uniqueRef?: string | null;
4954
+ /** @enum {string} */
4955
+ status: "active" | "inactive";
5558
4956
  } | null;
5559
4957
  date: string;
5560
4958
  description: string;
@@ -5642,66 +5040,11 @@ export interface operations {
5642
5040
  [key: string]: unknown;
5643
5041
  } | null;
5644
5042
  account?: {
5043
+ id: string;
5645
5044
  name: string;
5646
- /** @enum {string|null} */
5647
- status?: "active" | "inactive" | null;
5045
+ uniqueRef?: string | null;
5648
5046
  /** @enum {string} */
5649
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
5650
- id: string;
5651
- offsetAccount?: {
5652
- id: string;
5653
- name: string;
5654
- } | null;
5655
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
5656
- category?: {
5657
- id: string;
5658
- name: string;
5659
- /** @enum {string|null} */
5660
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
5661
- } | null;
5662
- banking?: {
5663
- /** @enum {string|null} */
5664
- category?: "trust" | "operating" | "external" | null;
5665
- /** @enum {string|null} */
5666
- type?: "deposit" | "creditCard" | null;
5667
- last4?: string | null;
5668
- currency?: string | null;
5669
- connections: {
5670
- id: string;
5671
- name: string;
5672
- connection?: {
5673
- id: string;
5674
- icon?: string | null;
5675
- } | null;
5676
- /** @enum {string|null} */
5677
- status?: "active" | "inactive" | null;
5678
- currentSync?: {
5679
- /** @enum {string} */
5680
- status: "queued" | "started" | "completed" | "failed" | "canceled";
5681
- createdAt: string;
5682
- updatedAt: string;
5683
- message?: string | null;
5684
- } | null;
5685
- source?: {
5686
- /** Format: uuid */
5687
- id: string;
5688
- type: string;
5689
- /** @enum {string|null} */
5690
- status?: "active" | "inactive" | null;
5691
- } | null;
5692
- }[];
5693
- bankRecords: {
5694
- reconciled: number;
5695
- unreconciled: number;
5696
- total: number;
5697
- latestCreatedAt?: string | null;
5698
- };
5699
- balance?: {
5700
- openingDate?: string | null;
5701
- opening: number;
5702
- ending: number;
5703
- } | null;
5704
- } | null;
5047
+ status: "active" | "inactive";
5705
5048
  } | null;
5706
5049
  isExcluded?: boolean | null;
5707
5050
  }[];
@@ -5719,66 +5062,11 @@ export interface operations {
5719
5062
  /** @enum {string|null} */
5720
5063
  party?: "owners" | "manager" | null;
5721
5064
  account?: {
5065
+ id: string;
5722
5066
  name: string;
5723
- /** @enum {string|null} */
5724
- status?: "active" | "inactive" | null;
5067
+ uniqueRef?: string | null;
5725
5068
  /** @enum {string} */
5726
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
5727
- id: string;
5728
- offsetAccount?: {
5729
- id: string;
5730
- name: string;
5731
- } | null;
5732
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
5733
- category?: {
5734
- id: string;
5735
- name: string;
5736
- /** @enum {string|null} */
5737
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
5738
- } | null;
5739
- banking?: {
5740
- /** @enum {string|null} */
5741
- category?: "trust" | "operating" | "external" | null;
5742
- /** @enum {string|null} */
5743
- type?: "deposit" | "creditCard" | null;
5744
- last4?: string | null;
5745
- currency?: string | null;
5746
- connections: {
5747
- id: string;
5748
- name: string;
5749
- connection?: {
5750
- id: string;
5751
- icon?: string | null;
5752
- } | null;
5753
- /** @enum {string|null} */
5754
- status?: "active" | "inactive" | null;
5755
- currentSync?: {
5756
- /** @enum {string} */
5757
- status: "queued" | "started" | "completed" | "failed" | "canceled";
5758
- createdAt: string;
5759
- updatedAt: string;
5760
- message?: string | null;
5761
- } | null;
5762
- source?: {
5763
- /** Format: uuid */
5764
- id: string;
5765
- type: string;
5766
- /** @enum {string|null} */
5767
- status?: "active" | "inactive" | null;
5768
- } | null;
5769
- }[];
5770
- bankRecords: {
5771
- reconciled: number;
5772
- unreconciled: number;
5773
- total: number;
5774
- latestCreatedAt?: string | null;
5775
- };
5776
- balance?: {
5777
- openingDate?: string | null;
5778
- opening: number;
5779
- ending: number;
5780
- } | null;
5781
- } | null;
5069
+ status: "active" | "inactive";
5782
5070
  } | null;
5783
5071
  recurringFee?: {
5784
5072
  id: string;
@@ -6063,66 +5351,11 @@ export interface operations {
6063
5351
  [key: string]: unknown;
6064
5352
  } | null;
6065
5353
  account?: {
5354
+ id: string;
6066
5355
  name: string;
6067
- /** @enum {string|null} */
6068
- status?: "active" | "inactive" | null;
5356
+ uniqueRef?: string | null;
6069
5357
  /** @enum {string} */
6070
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
6071
- id: string;
6072
- offsetAccount?: {
6073
- id: string;
6074
- name: string;
6075
- } | null;
6076
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
6077
- category?: {
6078
- id: string;
6079
- name: string;
6080
- /** @enum {string|null} */
6081
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
6082
- } | null;
6083
- banking?: {
6084
- /** @enum {string|null} */
6085
- category?: "trust" | "operating" | "external" | null;
6086
- /** @enum {string|null} */
6087
- type?: "deposit" | "creditCard" | null;
6088
- last4?: string | null;
6089
- currency?: string | null;
6090
- connections: {
6091
- id: string;
6092
- name: string;
6093
- connection?: {
6094
- id: string;
6095
- icon?: string | null;
6096
- } | null;
6097
- /** @enum {string|null} */
6098
- status?: "active" | "inactive" | null;
6099
- currentSync?: {
6100
- /** @enum {string} */
6101
- status: "queued" | "started" | "completed" | "failed" | "canceled";
6102
- createdAt: string;
6103
- updatedAt: string;
6104
- message?: string | null;
6105
- } | null;
6106
- source?: {
6107
- /** Format: uuid */
6108
- id: string;
6109
- type: string;
6110
- /** @enum {string|null} */
6111
- status?: "active" | "inactive" | null;
6112
- } | null;
6113
- }[];
6114
- bankRecords: {
6115
- reconciled: number;
6116
- unreconciled: number;
6117
- total: number;
6118
- latestCreatedAt?: string | null;
6119
- };
6120
- balance?: {
6121
- openingDate?: string | null;
6122
- opening: number;
6123
- ending: number;
6124
- } | null;
6125
- } | null;
5358
+ status: "active" | "inactive";
6126
5359
  } | null;
6127
5360
  isExcluded?: boolean | null;
6128
5361
  }[];
@@ -6367,6 +5600,9 @@ export interface operations {
6367
5600
  account?: {
6368
5601
  id: string;
6369
5602
  name: string;
5603
+ uniqueRef?: string | null;
5604
+ /** @enum {string} */
5605
+ status: "active" | "inactive";
6370
5606
  /** @enum {string} */
6371
5607
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
6372
5608
  } | null;
@@ -6386,11 +5622,9 @@ export interface operations {
6386
5622
  account?: {
6387
5623
  id: string;
6388
5624
  name: string;
6389
- bankAccount?: {
6390
- /** Format: uuid */
6391
- id?: string | null;
6392
- name: string;
6393
- } | null;
5625
+ uniqueRef?: string | null;
5626
+ /** @enum {string} */
5627
+ status: "active" | "inactive";
6394
5628
  } | null;
6395
5629
  date: string;
6396
5630
  description: string;
@@ -6478,143 +5712,33 @@ export interface operations {
6478
5712
  [key: string]: unknown;
6479
5713
  } | null;
6480
5714
  account?: {
5715
+ id: string;
6481
5716
  name: string;
6482
- /** @enum {string|null} */
6483
- status?: "active" | "inactive" | null;
5717
+ uniqueRef?: string | null;
6484
5718
  /** @enum {string} */
6485
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
5719
+ status: "active" | "inactive";
5720
+ } | null;
5721
+ isExcluded?: boolean | null;
5722
+ }[];
5723
+ /** @description Adjustments are manually added financial lines that are not part of the booking platform */
5724
+ adjustments: {
5725
+ /** Format: uuid */
5726
+ id: string;
5727
+ type?: string;
5728
+ description?: string | null;
5729
+ /** @description Value in cents (100 = 1€) */
5730
+ amount: number;
5731
+ metadata?: {
5732
+ [key: string]: unknown;
5733
+ } | null;
5734
+ /** @enum {string|null} */
5735
+ party?: "owners" | "manager" | null;
5736
+ account?: {
6486
5737
  id: string;
6487
- offsetAccount?: {
6488
- id: string;
6489
- name: string;
6490
- } | null;
6491
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
6492
- category?: {
6493
- id: string;
6494
- name: string;
6495
- /** @enum {string|null} */
6496
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
6497
- } | null;
6498
- banking?: {
6499
- /** @enum {string|null} */
6500
- category?: "trust" | "operating" | "external" | null;
6501
- /** @enum {string|null} */
6502
- type?: "deposit" | "creditCard" | null;
6503
- last4?: string | null;
6504
- currency?: string | null;
6505
- connections: {
6506
- id: string;
6507
- name: string;
6508
- connection?: {
6509
- id: string;
6510
- icon?: string | null;
6511
- } | null;
6512
- /** @enum {string|null} */
6513
- status?: "active" | "inactive" | null;
6514
- currentSync?: {
6515
- /** @enum {string} */
6516
- status: "queued" | "started" | "completed" | "failed" | "canceled";
6517
- createdAt: string;
6518
- updatedAt: string;
6519
- message?: string | null;
6520
- } | null;
6521
- source?: {
6522
- /** Format: uuid */
6523
- id: string;
6524
- type: string;
6525
- /** @enum {string|null} */
6526
- status?: "active" | "inactive" | null;
6527
- } | null;
6528
- }[];
6529
- bankRecords: {
6530
- reconciled: number;
6531
- unreconciled: number;
6532
- total: number;
6533
- latestCreatedAt?: string | null;
6534
- };
6535
- balance?: {
6536
- openingDate?: string | null;
6537
- opening: number;
6538
- ending: number;
6539
- } | null;
6540
- } | null;
6541
- } | null;
6542
- isExcluded?: boolean | null;
6543
- }[];
6544
- /** @description Adjustments are manually added financial lines that are not part of the booking platform */
6545
- adjustments: {
6546
- /** Format: uuid */
6547
- id: string;
6548
- type?: string;
6549
- description?: string | null;
6550
- /** @description Value in cents (100 = 1€) */
6551
- amount: number;
6552
- metadata?: {
6553
- [key: string]: unknown;
6554
- } | null;
6555
- /** @enum {string|null} */
6556
- party?: "owners" | "manager" | null;
6557
- account?: {
6558
5738
  name: string;
6559
- /** @enum {string|null} */
6560
- status?: "active" | "inactive" | null;
5739
+ uniqueRef?: string | null;
6561
5740
  /** @enum {string} */
6562
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
6563
- id: string;
6564
- offsetAccount?: {
6565
- id: string;
6566
- name: string;
6567
- } | null;
6568
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
6569
- category?: {
6570
- id: string;
6571
- name: string;
6572
- /** @enum {string|null} */
6573
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
6574
- } | null;
6575
- banking?: {
6576
- /** @enum {string|null} */
6577
- category?: "trust" | "operating" | "external" | null;
6578
- /** @enum {string|null} */
6579
- type?: "deposit" | "creditCard" | null;
6580
- last4?: string | null;
6581
- currency?: string | null;
6582
- connections: {
6583
- id: string;
6584
- name: string;
6585
- connection?: {
6586
- id: string;
6587
- icon?: string | null;
6588
- } | null;
6589
- /** @enum {string|null} */
6590
- status?: "active" | "inactive" | null;
6591
- currentSync?: {
6592
- /** @enum {string} */
6593
- status: "queued" | "started" | "completed" | "failed" | "canceled";
6594
- createdAt: string;
6595
- updatedAt: string;
6596
- message?: string | null;
6597
- } | null;
6598
- source?: {
6599
- /** Format: uuid */
6600
- id: string;
6601
- type: string;
6602
- /** @enum {string|null} */
6603
- status?: "active" | "inactive" | null;
6604
- } | null;
6605
- }[];
6606
- bankRecords: {
6607
- reconciled: number;
6608
- unreconciled: number;
6609
- total: number;
6610
- latestCreatedAt?: string | null;
6611
- };
6612
- balance?: {
6613
- openingDate?: string | null;
6614
- opening: number;
6615
- ending: number;
6616
- } | null;
6617
- } | null;
5741
+ status: "active" | "inactive";
6618
5742
  } | null;
6619
5743
  recurringFee?: {
6620
5744
  id: string;
@@ -9848,6 +8972,9 @@ export interface operations {
9848
8972
  account?: {
9849
8973
  id: string;
9850
8974
  name: string;
8975
+ uniqueRef?: string | null;
8976
+ /** @enum {string} */
8977
+ status: "active" | "inactive";
9851
8978
  /** @enum {string} */
9852
8979
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
9853
8980
  } | null;
@@ -9867,11 +8994,9 @@ export interface operations {
9867
8994
  account?: {
9868
8995
  id: string;
9869
8996
  name: string;
9870
- bankAccount?: {
9871
- /** Format: uuid */
9872
- id?: string | null;
9873
- name: string;
9874
- } | null;
8997
+ uniqueRef?: string | null;
8998
+ /** @enum {string} */
8999
+ status: "active" | "inactive";
9875
9000
  } | null;
9876
9001
  date: string;
9877
9002
  description: string;
@@ -10439,206 +9564,41 @@ export interface operations {
10439
9564
  id: string;
10440
9565
  uniqueRef: string;
10441
9566
  creditAccount: {
9567
+ id: string;
10442
9568
  name: string;
10443
- /** @enum {string|null} */
10444
- status?: "active" | "inactive" | null;
9569
+ uniqueRef?: string | null;
10445
9570
  /** @enum {string} */
10446
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
10447
- id: string;
10448
- offsetAccount?: {
10449
- id: string;
10450
- name: string;
10451
- } | null;
10452
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
10453
- category?: {
10454
- id: string;
10455
- name: string;
10456
- /** @enum {string|null} */
10457
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
10458
- } | null;
10459
- banking?: {
10460
- /** @enum {string|null} */
10461
- category?: "trust" | "operating" | "external" | null;
10462
- /** @enum {string|null} */
10463
- type?: "deposit" | "creditCard" | null;
10464
- last4?: string | null;
10465
- currency?: string | null;
10466
- connections: {
10467
- id: string;
10468
- name: string;
10469
- connection?: {
10470
- id: string;
10471
- icon?: string | null;
10472
- } | null;
10473
- /** @enum {string|null} */
10474
- status?: "active" | "inactive" | null;
10475
- currentSync?: {
10476
- /** @enum {string} */
10477
- status: "queued" | "started" | "completed" | "failed" | "canceled";
10478
- createdAt: string;
10479
- updatedAt: string;
10480
- message?: string | null;
10481
- } | null;
10482
- source?: {
10483
- /** Format: uuid */
10484
- id: string;
10485
- type: string;
10486
- /** @enum {string|null} */
10487
- status?: "active" | "inactive" | null;
10488
- } | null;
10489
- }[];
10490
- bankRecords: {
10491
- reconciled: number;
10492
- unreconciled: number;
10493
- total: number;
10494
- latestCreatedAt?: string | null;
10495
- };
10496
- balance?: {
10497
- openingDate?: string | null;
10498
- opening: number;
10499
- ending: number;
10500
- } | null;
10501
- } | null;
9571
+ status: "active" | "inactive";
10502
9572
  };
10503
9573
  debitAccount: {
9574
+ id: string;
10504
9575
  name: string;
10505
- /** @enum {string|null} */
10506
- status?: "active" | "inactive" | null;
9576
+ uniqueRef?: string | null;
10507
9577
  /** @enum {string} */
10508
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
10509
- id: string;
10510
- offsetAccount?: {
10511
- id: string;
10512
- name: string;
10513
- } | null;
10514
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
10515
- category?: {
10516
- id: string;
10517
- name: string;
10518
- /** @enum {string|null} */
10519
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
10520
- } | null;
10521
- banking?: {
10522
- /** @enum {string|null} */
10523
- category?: "trust" | "operating" | "external" | null;
10524
- /** @enum {string|null} */
10525
- type?: "deposit" | "creditCard" | null;
10526
- last4?: string | null;
10527
- currency?: string | null;
10528
- connections: {
10529
- id: string;
10530
- name: string;
10531
- connection?: {
10532
- id: string;
10533
- icon?: string | null;
10534
- } | null;
10535
- /** @enum {string|null} */
10536
- status?: "active" | "inactive" | null;
10537
- currentSync?: {
10538
- /** @enum {string} */
10539
- status: "queued" | "started" | "completed" | "failed" | "canceled";
10540
- createdAt: string;
10541
- updatedAt: string;
10542
- message?: string | null;
10543
- } | null;
10544
- source?: {
10545
- /** Format: uuid */
10546
- id: string;
10547
- type: string;
10548
- /** @enum {string|null} */
10549
- status?: "active" | "inactive" | null;
10550
- } | null;
10551
- }[];
10552
- bankRecords: {
10553
- reconciled: number;
10554
- unreconciled: number;
10555
- total: number;
10556
- latestCreatedAt?: string | null;
10557
- };
10558
- balance?: {
10559
- openingDate?: string | null;
10560
- opening: number;
10561
- ending: number;
10562
- } | null;
10563
- } | null;
9578
+ status: "active" | "inactive";
10564
9579
  };
10565
9580
  linkedAccounts: {
9581
+ id: string;
10566
9582
  name: string;
9583
+ uniqueRef?: string | null;
9584
+ /** @enum {string} */
9585
+ status: "active" | "inactive";
9586
+ }[];
9587
+ taxRate?: {
9588
+ name: string;
9589
+ countryCode?: string | null;
9590
+ currency?: string | null;
9591
+ /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9592
+ basisPoints: number;
9593
+ /** @enum {string|null} */
9594
+ type?: "markup" | "tax" | null;
9595
+ uniqueRef?: string | null;
10567
9596
  /** @enum {string|null} */
10568
9597
  status?: "active" | "inactive" | null;
10569
- /** @enum {string} */
10570
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
10571
- id: string;
10572
- offsetAccount?: {
10573
- id: string;
10574
- name: string;
10575
- } | null;
10576
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
10577
- category?: {
10578
- id: string;
10579
- name: string;
10580
- /** @enum {string|null} */
10581
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
10582
- } | null;
10583
- banking?: {
10584
- /** @enum {string|null} */
10585
- category?: "trust" | "operating" | "external" | null;
10586
- /** @enum {string|null} */
10587
- type?: "deposit" | "creditCard" | null;
10588
- last4?: string | null;
10589
- currency?: string | null;
10590
- connections: {
10591
- id: string;
10592
- name: string;
10593
- connection?: {
10594
- id: string;
10595
- icon?: string | null;
10596
- } | null;
10597
- /** @enum {string|null} */
10598
- status?: "active" | "inactive" | null;
10599
- currentSync?: {
10600
- /** @enum {string} */
10601
- status: "queued" | "started" | "completed" | "failed" | "canceled";
10602
- createdAt: string;
10603
- updatedAt: string;
10604
- message?: string | null;
10605
- } | null;
10606
- source?: {
10607
- /** Format: uuid */
10608
- id: string;
10609
- type: string;
10610
- /** @enum {string|null} */
10611
- status?: "active" | "inactive" | null;
10612
- } | null;
10613
- }[];
10614
- bankRecords: {
10615
- reconciled: number;
10616
- unreconciled: number;
10617
- total: number;
10618
- latestCreatedAt?: string | null;
10619
- };
10620
- balance?: {
10621
- openingDate?: string | null;
10622
- opening: number;
10623
- ending: number;
10624
- } | null;
10625
- } | null;
10626
- }[];
10627
- taxRate?: {
10628
- name: string;
10629
- countryCode?: string | null;
10630
- currency?: string | null;
10631
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
10632
- basisPoints: number;
10633
- /** @enum {string|null} */
10634
- type?: "markup" | "tax" | null;
10635
- uniqueRef?: string | null;
10636
- /** @enum {string|null} */
10637
- status?: "active" | "inactive" | null;
10638
- /** Format: uuid */
10639
- accountId?: string | null;
10640
- /** Format: uuid */
10641
- debitAccountId?: string | null;
9598
+ /** Format: uuid */
9599
+ accountId?: string | null;
9600
+ /** Format: uuid */
9601
+ debitAccountId?: string | null;
10642
9602
  id: string;
10643
9603
  } | null;
10644
9604
  };
@@ -10773,190 +9733,25 @@ export interface operations {
10773
9733
  id: string;
10774
9734
  uniqueRef: string;
10775
9735
  creditAccount: {
9736
+ id: string;
10776
9737
  name: string;
10777
- /** @enum {string|null} */
10778
- status?: "active" | "inactive" | null;
9738
+ uniqueRef?: string | null;
10779
9739
  /** @enum {string} */
10780
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
10781
- id: string;
10782
- offsetAccount?: {
10783
- id: string;
10784
- name: string;
10785
- } | null;
10786
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
10787
- category?: {
10788
- id: string;
10789
- name: string;
10790
- /** @enum {string|null} */
10791
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
10792
- } | null;
10793
- banking?: {
10794
- /** @enum {string|null} */
10795
- category?: "trust" | "operating" | "external" | null;
10796
- /** @enum {string|null} */
10797
- type?: "deposit" | "creditCard" | null;
10798
- last4?: string | null;
10799
- currency?: string | null;
10800
- connections: {
10801
- id: string;
10802
- name: string;
10803
- connection?: {
10804
- id: string;
10805
- icon?: string | null;
10806
- } | null;
10807
- /** @enum {string|null} */
10808
- status?: "active" | "inactive" | null;
10809
- currentSync?: {
10810
- /** @enum {string} */
10811
- status: "queued" | "started" | "completed" | "failed" | "canceled";
10812
- createdAt: string;
10813
- updatedAt: string;
10814
- message?: string | null;
10815
- } | null;
10816
- source?: {
10817
- /** Format: uuid */
10818
- id: string;
10819
- type: string;
10820
- /** @enum {string|null} */
10821
- status?: "active" | "inactive" | null;
10822
- } | null;
10823
- }[];
10824
- bankRecords: {
10825
- reconciled: number;
10826
- unreconciled: number;
10827
- total: number;
10828
- latestCreatedAt?: string | null;
10829
- };
10830
- balance?: {
10831
- openingDate?: string | null;
10832
- opening: number;
10833
- ending: number;
10834
- } | null;
10835
- } | null;
9740
+ status: "active" | "inactive";
10836
9741
  };
10837
9742
  debitAccount: {
9743
+ id: string;
10838
9744
  name: string;
10839
- /** @enum {string|null} */
10840
- status?: "active" | "inactive" | null;
9745
+ uniqueRef?: string | null;
10841
9746
  /** @enum {string} */
10842
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
10843
- id: string;
10844
- offsetAccount?: {
10845
- id: string;
10846
- name: string;
10847
- } | null;
10848
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
10849
- category?: {
10850
- id: string;
10851
- name: string;
10852
- /** @enum {string|null} */
10853
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
10854
- } | null;
10855
- banking?: {
10856
- /** @enum {string|null} */
10857
- category?: "trust" | "operating" | "external" | null;
10858
- /** @enum {string|null} */
10859
- type?: "deposit" | "creditCard" | null;
10860
- last4?: string | null;
10861
- currency?: string | null;
10862
- connections: {
10863
- id: string;
10864
- name: string;
10865
- connection?: {
10866
- id: string;
10867
- icon?: string | null;
10868
- } | null;
10869
- /** @enum {string|null} */
10870
- status?: "active" | "inactive" | null;
10871
- currentSync?: {
10872
- /** @enum {string} */
10873
- status: "queued" | "started" | "completed" | "failed" | "canceled";
10874
- createdAt: string;
10875
- updatedAt: string;
10876
- message?: string | null;
10877
- } | null;
10878
- source?: {
10879
- /** Format: uuid */
10880
- id: string;
10881
- type: string;
10882
- /** @enum {string|null} */
10883
- status?: "active" | "inactive" | null;
10884
- } | null;
10885
- }[];
10886
- bankRecords: {
10887
- reconciled: number;
10888
- unreconciled: number;
10889
- total: number;
10890
- latestCreatedAt?: string | null;
10891
- };
10892
- balance?: {
10893
- openingDate?: string | null;
10894
- opening: number;
10895
- ending: number;
10896
- } | null;
10897
- } | null;
9747
+ status: "active" | "inactive";
10898
9748
  };
10899
9749
  linkedAccounts: {
9750
+ id: string;
10900
9751
  name: string;
10901
- /** @enum {string|null} */
10902
- status?: "active" | "inactive" | null;
9752
+ uniqueRef?: string | null;
10903
9753
  /** @enum {string} */
10904
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
10905
- id: string;
10906
- offsetAccount?: {
10907
- id: string;
10908
- name: string;
10909
- } | null;
10910
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
10911
- category?: {
10912
- id: string;
10913
- name: string;
10914
- /** @enum {string|null} */
10915
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
10916
- } | null;
10917
- banking?: {
10918
- /** @enum {string|null} */
10919
- category?: "trust" | "operating" | "external" | null;
10920
- /** @enum {string|null} */
10921
- type?: "deposit" | "creditCard" | null;
10922
- last4?: string | null;
10923
- currency?: string | null;
10924
- connections: {
10925
- id: string;
10926
- name: string;
10927
- connection?: {
10928
- id: string;
10929
- icon?: string | null;
10930
- } | null;
10931
- /** @enum {string|null} */
10932
- status?: "active" | "inactive" | null;
10933
- currentSync?: {
10934
- /** @enum {string} */
10935
- status: "queued" | "started" | "completed" | "failed" | "canceled";
10936
- createdAt: string;
10937
- updatedAt: string;
10938
- message?: string | null;
10939
- } | null;
10940
- source?: {
10941
- /** Format: uuid */
10942
- id: string;
10943
- type: string;
10944
- /** @enum {string|null} */
10945
- status?: "active" | "inactive" | null;
10946
- } | null;
10947
- }[];
10948
- bankRecords: {
10949
- reconciled: number;
10950
- unreconciled: number;
10951
- total: number;
10952
- latestCreatedAt?: string | null;
10953
- };
10954
- balance?: {
10955
- openingDate?: string | null;
10956
- opening: number;
10957
- ending: number;
10958
- } | null;
10959
- } | null;
9754
+ status: "active" | "inactive";
10960
9755
  }[];
10961
9756
  taxRate?: {
10962
9757
  name: string;
@@ -11146,190 +9941,25 @@ export interface operations {
11146
9941
  id: string;
11147
9942
  uniqueRef: string;
11148
9943
  creditAccount: {
9944
+ id: string;
11149
9945
  name: string;
11150
- /** @enum {string|null} */
11151
- status?: "active" | "inactive" | null;
9946
+ uniqueRef?: string | null;
11152
9947
  /** @enum {string} */
11153
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
9948
+ status: "active" | "inactive";
9949
+ };
9950
+ debitAccount: {
11154
9951
  id: string;
11155
- offsetAccount?: {
11156
- id: string;
11157
- name: string;
11158
- } | null;
11159
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
11160
- category?: {
11161
- id: string;
11162
- name: string;
11163
- /** @enum {string|null} */
11164
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
11165
- } | null;
11166
- banking?: {
11167
- /** @enum {string|null} */
11168
- category?: "trust" | "operating" | "external" | null;
11169
- /** @enum {string|null} */
11170
- type?: "deposit" | "creditCard" | null;
11171
- last4?: string | null;
11172
- currency?: string | null;
11173
- connections: {
11174
- id: string;
11175
- name: string;
11176
- connection?: {
11177
- id: string;
11178
- icon?: string | null;
11179
- } | null;
11180
- /** @enum {string|null} */
11181
- status?: "active" | "inactive" | null;
11182
- currentSync?: {
11183
- /** @enum {string} */
11184
- status: "queued" | "started" | "completed" | "failed" | "canceled";
11185
- createdAt: string;
11186
- updatedAt: string;
11187
- message?: string | null;
11188
- } | null;
11189
- source?: {
11190
- /** Format: uuid */
11191
- id: string;
11192
- type: string;
11193
- /** @enum {string|null} */
11194
- status?: "active" | "inactive" | null;
11195
- } | null;
11196
- }[];
11197
- bankRecords: {
11198
- reconciled: number;
11199
- unreconciled: number;
11200
- total: number;
11201
- latestCreatedAt?: string | null;
11202
- };
11203
- balance?: {
11204
- openingDate?: string | null;
11205
- opening: number;
11206
- ending: number;
11207
- } | null;
11208
- } | null;
11209
- };
11210
- debitAccount: {
11211
9952
  name: string;
11212
- /** @enum {string|null} */
11213
- status?: "active" | "inactive" | null;
9953
+ uniqueRef?: string | null;
11214
9954
  /** @enum {string} */
11215
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
11216
- id: string;
11217
- offsetAccount?: {
11218
- id: string;
11219
- name: string;
11220
- } | null;
11221
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
11222
- category?: {
11223
- id: string;
11224
- name: string;
11225
- /** @enum {string|null} */
11226
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
11227
- } | null;
11228
- banking?: {
11229
- /** @enum {string|null} */
11230
- category?: "trust" | "operating" | "external" | null;
11231
- /** @enum {string|null} */
11232
- type?: "deposit" | "creditCard" | null;
11233
- last4?: string | null;
11234
- currency?: string | null;
11235
- connections: {
11236
- id: string;
11237
- name: string;
11238
- connection?: {
11239
- id: string;
11240
- icon?: string | null;
11241
- } | null;
11242
- /** @enum {string|null} */
11243
- status?: "active" | "inactive" | null;
11244
- currentSync?: {
11245
- /** @enum {string} */
11246
- status: "queued" | "started" | "completed" | "failed" | "canceled";
11247
- createdAt: string;
11248
- updatedAt: string;
11249
- message?: string | null;
11250
- } | null;
11251
- source?: {
11252
- /** Format: uuid */
11253
- id: string;
11254
- type: string;
11255
- /** @enum {string|null} */
11256
- status?: "active" | "inactive" | null;
11257
- } | null;
11258
- }[];
11259
- bankRecords: {
11260
- reconciled: number;
11261
- unreconciled: number;
11262
- total: number;
11263
- latestCreatedAt?: string | null;
11264
- };
11265
- balance?: {
11266
- openingDate?: string | null;
11267
- opening: number;
11268
- ending: number;
11269
- } | null;
11270
- } | null;
9955
+ status: "active" | "inactive";
11271
9956
  };
11272
9957
  linkedAccounts: {
9958
+ id: string;
11273
9959
  name: string;
11274
- /** @enum {string|null} */
11275
- status?: "active" | "inactive" | null;
9960
+ uniqueRef?: string | null;
11276
9961
  /** @enum {string} */
11277
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
11278
- id: string;
11279
- offsetAccount?: {
11280
- id: string;
11281
- name: string;
11282
- } | null;
11283
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
11284
- category?: {
11285
- id: string;
11286
- name: string;
11287
- /** @enum {string|null} */
11288
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
11289
- } | null;
11290
- banking?: {
11291
- /** @enum {string|null} */
11292
- category?: "trust" | "operating" | "external" | null;
11293
- /** @enum {string|null} */
11294
- type?: "deposit" | "creditCard" | null;
11295
- last4?: string | null;
11296
- currency?: string | null;
11297
- connections: {
11298
- id: string;
11299
- name: string;
11300
- connection?: {
11301
- id: string;
11302
- icon?: string | null;
11303
- } | null;
11304
- /** @enum {string|null} */
11305
- status?: "active" | "inactive" | null;
11306
- currentSync?: {
11307
- /** @enum {string} */
11308
- status: "queued" | "started" | "completed" | "failed" | "canceled";
11309
- createdAt: string;
11310
- updatedAt: string;
11311
- message?: string | null;
11312
- } | null;
11313
- source?: {
11314
- /** Format: uuid */
11315
- id: string;
11316
- type: string;
11317
- /** @enum {string|null} */
11318
- status?: "active" | "inactive" | null;
11319
- } | null;
11320
- }[];
11321
- bankRecords: {
11322
- reconciled: number;
11323
- unreconciled: number;
11324
- total: number;
11325
- latestCreatedAt?: string | null;
11326
- };
11327
- balance?: {
11328
- openingDate?: string | null;
11329
- opening: number;
11330
- ending: number;
11331
- } | null;
11332
- } | null;
9962
+ status: "active" | "inactive";
11333
9963
  }[];
11334
9964
  taxRate?: {
11335
9965
  name: string;
@@ -11488,190 +10118,25 @@ export interface operations {
11488
10118
  id: string;
11489
10119
  uniqueRef: string;
11490
10120
  creditAccount: {
10121
+ id: string;
11491
10122
  name: string;
11492
- /** @enum {string|null} */
11493
- status?: "active" | "inactive" | null;
10123
+ uniqueRef?: string | null;
11494
10124
  /** @enum {string} */
11495
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
11496
- id: string;
11497
- offsetAccount?: {
11498
- id: string;
11499
- name: string;
11500
- } | null;
11501
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
11502
- category?: {
11503
- id: string;
11504
- name: string;
11505
- /** @enum {string|null} */
11506
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
11507
- } | null;
11508
- banking?: {
11509
- /** @enum {string|null} */
11510
- category?: "trust" | "operating" | "external" | null;
11511
- /** @enum {string|null} */
11512
- type?: "deposit" | "creditCard" | null;
11513
- last4?: string | null;
11514
- currency?: string | null;
11515
- connections: {
11516
- id: string;
11517
- name: string;
11518
- connection?: {
11519
- id: string;
11520
- icon?: string | null;
11521
- } | null;
11522
- /** @enum {string|null} */
11523
- status?: "active" | "inactive" | null;
11524
- currentSync?: {
11525
- /** @enum {string} */
11526
- status: "queued" | "started" | "completed" | "failed" | "canceled";
11527
- createdAt: string;
11528
- updatedAt: string;
11529
- message?: string | null;
11530
- } | null;
11531
- source?: {
11532
- /** Format: uuid */
11533
- id: string;
11534
- type: string;
11535
- /** @enum {string|null} */
11536
- status?: "active" | "inactive" | null;
11537
- } | null;
11538
- }[];
11539
- bankRecords: {
11540
- reconciled: number;
11541
- unreconciled: number;
11542
- total: number;
11543
- latestCreatedAt?: string | null;
11544
- };
11545
- balance?: {
11546
- openingDate?: string | null;
11547
- opening: number;
11548
- ending: number;
11549
- } | null;
11550
- } | null;
10125
+ status: "active" | "inactive";
11551
10126
  };
11552
10127
  debitAccount: {
10128
+ id: string;
11553
10129
  name: string;
11554
- /** @enum {string|null} */
11555
- status?: "active" | "inactive" | null;
10130
+ uniqueRef?: string | null;
11556
10131
  /** @enum {string} */
11557
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
11558
- id: string;
11559
- offsetAccount?: {
11560
- id: string;
11561
- name: string;
11562
- } | null;
11563
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
11564
- category?: {
11565
- id: string;
11566
- name: string;
11567
- /** @enum {string|null} */
11568
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
11569
- } | null;
11570
- banking?: {
11571
- /** @enum {string|null} */
11572
- category?: "trust" | "operating" | "external" | null;
11573
- /** @enum {string|null} */
11574
- type?: "deposit" | "creditCard" | null;
11575
- last4?: string | null;
11576
- currency?: string | null;
11577
- connections: {
11578
- id: string;
11579
- name: string;
11580
- connection?: {
11581
- id: string;
11582
- icon?: string | null;
11583
- } | null;
11584
- /** @enum {string|null} */
11585
- status?: "active" | "inactive" | null;
11586
- currentSync?: {
11587
- /** @enum {string} */
11588
- status: "queued" | "started" | "completed" | "failed" | "canceled";
11589
- createdAt: string;
11590
- updatedAt: string;
11591
- message?: string | null;
11592
- } | null;
11593
- source?: {
11594
- /** Format: uuid */
11595
- id: string;
11596
- type: string;
11597
- /** @enum {string|null} */
11598
- status?: "active" | "inactive" | null;
11599
- } | null;
11600
- }[];
11601
- bankRecords: {
11602
- reconciled: number;
11603
- unreconciled: number;
11604
- total: number;
11605
- latestCreatedAt?: string | null;
11606
- };
11607
- balance?: {
11608
- openingDate?: string | null;
11609
- opening: number;
11610
- ending: number;
11611
- } | null;
11612
- } | null;
10132
+ status: "active" | "inactive";
11613
10133
  };
11614
10134
  linkedAccounts: {
10135
+ id: string;
11615
10136
  name: string;
11616
- /** @enum {string|null} */
11617
- status?: "active" | "inactive" | null;
10137
+ uniqueRef?: string | null;
11618
10138
  /** @enum {string} */
11619
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
11620
- id: string;
11621
- offsetAccount?: {
11622
- id: string;
11623
- name: string;
11624
- } | null;
11625
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
11626
- category?: {
11627
- id: string;
11628
- name: string;
11629
- /** @enum {string|null} */
11630
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
11631
- } | null;
11632
- banking?: {
11633
- /** @enum {string|null} */
11634
- category?: "trust" | "operating" | "external" | null;
11635
- /** @enum {string|null} */
11636
- type?: "deposit" | "creditCard" | null;
11637
- last4?: string | null;
11638
- currency?: string | null;
11639
- connections: {
11640
- id: string;
11641
- name: string;
11642
- connection?: {
11643
- id: string;
11644
- icon?: string | null;
11645
- } | null;
11646
- /** @enum {string|null} */
11647
- status?: "active" | "inactive" | null;
11648
- currentSync?: {
11649
- /** @enum {string} */
11650
- status: "queued" | "started" | "completed" | "failed" | "canceled";
11651
- createdAt: string;
11652
- updatedAt: string;
11653
- message?: string | null;
11654
- } | null;
11655
- source?: {
11656
- /** Format: uuid */
11657
- id: string;
11658
- type: string;
11659
- /** @enum {string|null} */
11660
- status?: "active" | "inactive" | null;
11661
- } | null;
11662
- }[];
11663
- bankRecords: {
11664
- reconciled: number;
11665
- unreconciled: number;
11666
- total: number;
11667
- latestCreatedAt?: string | null;
11668
- };
11669
- balance?: {
11670
- openingDate?: string | null;
11671
- opening: number;
11672
- ending: number;
11673
- } | null;
11674
- } | null;
10139
+ status: "active" | "inactive";
11675
10140
  }[];
11676
10141
  taxRate?: {
11677
10142
  name: string;
@@ -11815,66 +10280,11 @@ export interface operations {
11815
10280
  name?: string | null;
11816
10281
  }[];
11817
10282
  linkedAccounts: {
11818
- name: string;
11819
- /** @enum {string|null} */
11820
- status?: "active" | "inactive" | null;
11821
- /** @enum {string} */
11822
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
11823
10283
  id: string;
11824
- offsetAccount?: {
11825
- id: string;
11826
- name: string;
11827
- } | null;
11828
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
11829
- category?: {
11830
- id: string;
11831
- name: string;
11832
- /** @enum {string|null} */
11833
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
11834
- } | null;
11835
- banking?: {
11836
- /** @enum {string|null} */
11837
- category?: "trust" | "operating" | "external" | null;
11838
- /** @enum {string|null} */
11839
- type?: "deposit" | "creditCard" | null;
11840
- last4?: string | null;
11841
- currency?: string | null;
11842
- connections: {
11843
- id: string;
11844
- name: string;
11845
- connection?: {
11846
- id: string;
11847
- icon?: string | null;
11848
- } | null;
11849
- /** @enum {string|null} */
11850
- status?: "active" | "inactive" | null;
11851
- currentSync?: {
11852
- /** @enum {string} */
11853
- status: "queued" | "started" | "completed" | "failed" | "canceled";
11854
- createdAt: string;
11855
- updatedAt: string;
11856
- message?: string | null;
11857
- } | null;
11858
- source?: {
11859
- /** Format: uuid */
11860
- id: string;
11861
- type: string;
11862
- /** @enum {string|null} */
11863
- status?: "active" | "inactive" | null;
11864
- } | null;
11865
- }[];
11866
- bankRecords: {
11867
- reconciled: number;
11868
- unreconciled: number;
11869
- total: number;
11870
- latestCreatedAt?: string | null;
11871
- };
11872
- balance?: {
11873
- openingDate?: string | null;
11874
- opening: number;
11875
- ending: number;
11876
- } | null;
11877
- } | null;
10284
+ name: string;
10285
+ uniqueRef?: string | null;
10286
+ /** @enum {string} */
10287
+ status: "active" | "inactive";
11878
10288
  }[];
11879
10289
  createdAt: string;
11880
10290
  systemSections: {
@@ -12105,66 +10515,11 @@ export interface operations {
12105
10515
  name?: string | null;
12106
10516
  }[];
12107
10517
  linkedAccounts: {
10518
+ id: string;
12108
10519
  name: string;
12109
- /** @enum {string|null} */
12110
- status?: "active" | "inactive" | null;
10520
+ uniqueRef?: string | null;
12111
10521
  /** @enum {string} */
12112
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
12113
- id: string;
12114
- offsetAccount?: {
12115
- id: string;
12116
- name: string;
12117
- } | null;
12118
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
12119
- category?: {
12120
- id: string;
12121
- name: string;
12122
- /** @enum {string|null} */
12123
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
12124
- } | null;
12125
- banking?: {
12126
- /** @enum {string|null} */
12127
- category?: "trust" | "operating" | "external" | null;
12128
- /** @enum {string|null} */
12129
- type?: "deposit" | "creditCard" | null;
12130
- last4?: string | null;
12131
- currency?: string | null;
12132
- connections: {
12133
- id: string;
12134
- name: string;
12135
- connection?: {
12136
- id: string;
12137
- icon?: string | null;
12138
- } | null;
12139
- /** @enum {string|null} */
12140
- status?: "active" | "inactive" | null;
12141
- currentSync?: {
12142
- /** @enum {string} */
12143
- status: "queued" | "started" | "completed" | "failed" | "canceled";
12144
- createdAt: string;
12145
- updatedAt: string;
12146
- message?: string | null;
12147
- } | null;
12148
- source?: {
12149
- /** Format: uuid */
12150
- id: string;
12151
- type: string;
12152
- /** @enum {string|null} */
12153
- status?: "active" | "inactive" | null;
12154
- } | null;
12155
- }[];
12156
- bankRecords: {
12157
- reconciled: number;
12158
- unreconciled: number;
12159
- total: number;
12160
- latestCreatedAt?: string | null;
12161
- };
12162
- balance?: {
12163
- openingDate?: string | null;
12164
- opening: number;
12165
- ending: number;
12166
- } | null;
12167
- } | null;
10522
+ status: "active" | "inactive";
12168
10523
  }[];
12169
10524
  createdAt: string;
12170
10525
  systemSections: {
@@ -12316,66 +10671,11 @@ export interface operations {
12316
10671
  name?: string | null;
12317
10672
  }[];
12318
10673
  linkedAccounts: {
10674
+ id: string;
12319
10675
  name: string;
12320
- /** @enum {string|null} */
12321
- status?: "active" | "inactive" | null;
10676
+ uniqueRef?: string | null;
12322
10677
  /** @enum {string} */
12323
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
12324
- id: string;
12325
- offsetAccount?: {
12326
- id: string;
12327
- name: string;
12328
- } | null;
12329
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
12330
- category?: {
12331
- id: string;
12332
- name: string;
12333
- /** @enum {string|null} */
12334
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
12335
- } | null;
12336
- banking?: {
12337
- /** @enum {string|null} */
12338
- category?: "trust" | "operating" | "external" | null;
12339
- /** @enum {string|null} */
12340
- type?: "deposit" | "creditCard" | null;
12341
- last4?: string | null;
12342
- currency?: string | null;
12343
- connections: {
12344
- id: string;
12345
- name: string;
12346
- connection?: {
12347
- id: string;
12348
- icon?: string | null;
12349
- } | null;
12350
- /** @enum {string|null} */
12351
- status?: "active" | "inactive" | null;
12352
- currentSync?: {
12353
- /** @enum {string} */
12354
- status: "queued" | "started" | "completed" | "failed" | "canceled";
12355
- createdAt: string;
12356
- updatedAt: string;
12357
- message?: string | null;
12358
- } | null;
12359
- source?: {
12360
- /** Format: uuid */
12361
- id: string;
12362
- type: string;
12363
- /** @enum {string|null} */
12364
- status?: "active" | "inactive" | null;
12365
- } | null;
12366
- }[];
12367
- bankRecords: {
12368
- reconciled: number;
12369
- unreconciled: number;
12370
- total: number;
12371
- latestCreatedAt?: string | null;
12372
- };
12373
- balance?: {
12374
- openingDate?: string | null;
12375
- opening: number;
12376
- ending: number;
12377
- } | null;
12378
- } | null;
10678
+ status: "active" | "inactive";
12379
10679
  }[];
12380
10680
  createdAt: string;
12381
10681
  systemSections: {
@@ -12598,66 +10898,11 @@ export interface operations {
12598
10898
  name?: string | null;
12599
10899
  }[];
12600
10900
  linkedAccounts: {
10901
+ id: string;
12601
10902
  name: string;
12602
- /** @enum {string|null} */
12603
- status?: "active" | "inactive" | null;
10903
+ uniqueRef?: string | null;
12604
10904
  /** @enum {string} */
12605
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
12606
- id: string;
12607
- offsetAccount?: {
12608
- id: string;
12609
- name: string;
12610
- } | null;
12611
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
12612
- category?: {
12613
- id: string;
12614
- name: string;
12615
- /** @enum {string|null} */
12616
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
12617
- } | null;
12618
- banking?: {
12619
- /** @enum {string|null} */
12620
- category?: "trust" | "operating" | "external" | null;
12621
- /** @enum {string|null} */
12622
- type?: "deposit" | "creditCard" | null;
12623
- last4?: string | null;
12624
- currency?: string | null;
12625
- connections: {
12626
- id: string;
12627
- name: string;
12628
- connection?: {
12629
- id: string;
12630
- icon?: string | null;
12631
- } | null;
12632
- /** @enum {string|null} */
12633
- status?: "active" | "inactive" | null;
12634
- currentSync?: {
12635
- /** @enum {string} */
12636
- status: "queued" | "started" | "completed" | "failed" | "canceled";
12637
- createdAt: string;
12638
- updatedAt: string;
12639
- message?: string | null;
12640
- } | null;
12641
- source?: {
12642
- /** Format: uuid */
12643
- id: string;
12644
- type: string;
12645
- /** @enum {string|null} */
12646
- status?: "active" | "inactive" | null;
12647
- } | null;
12648
- }[];
12649
- bankRecords: {
12650
- reconciled: number;
12651
- unreconciled: number;
12652
- total: number;
12653
- latestCreatedAt?: string | null;
12654
- };
12655
- balance?: {
12656
- openingDate?: string | null;
12657
- opening: number;
12658
- ending: number;
12659
- } | null;
12660
- } | null;
10905
+ status: "active" | "inactive";
12661
10906
  }[];
12662
10907
  createdAt: string;
12663
10908
  systemSections: {
@@ -12883,6 +11128,9 @@ export interface operations {
12883
11128
  account?: {
12884
11129
  id: string;
12885
11130
  name: string;
11131
+ uniqueRef?: string | null;
11132
+ /** @enum {string} */
11133
+ status: "active" | "inactive";
12886
11134
  } | null;
12887
11135
  /** @enum {string} */
12888
11136
  party: "owners" | "manager";
@@ -12933,11 +11181,9 @@ export interface operations {
12933
11181
  account?: {
12934
11182
  id: string;
12935
11183
  name: string;
12936
- bankAccount?: {
12937
- /** Format: uuid */
12938
- id?: string | null;
12939
- name: string;
12940
- } | null;
11184
+ uniqueRef?: string | null;
11185
+ /** @enum {string} */
11186
+ status: "active" | "inactive";
12941
11187
  } | null;
12942
11188
  payment: {
12943
11189
  bankRecordIds: string[];
@@ -13380,66 +11626,11 @@ export interface operations {
13380
11626
  name?: string | null;
13381
11627
  }[];
13382
11628
  linkedAccounts: {
11629
+ id: string;
13383
11630
  name: string;
13384
- /** @enum {string|null} */
13385
- status?: "active" | "inactive" | null;
11631
+ uniqueRef?: string | null;
13386
11632
  /** @enum {string} */
13387
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
13388
- id: string;
13389
- offsetAccount?: {
13390
- id: string;
13391
- name: string;
13392
- } | null;
13393
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
13394
- category?: {
13395
- id: string;
13396
- name: string;
13397
- /** @enum {string|null} */
13398
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
13399
- } | null;
13400
- banking?: {
13401
- /** @enum {string|null} */
13402
- category?: "trust" | "operating" | "external" | null;
13403
- /** @enum {string|null} */
13404
- type?: "deposit" | "creditCard" | null;
13405
- last4?: string | null;
13406
- currency?: string | null;
13407
- connections: {
13408
- id: string;
13409
- name: string;
13410
- connection?: {
13411
- id: string;
13412
- icon?: string | null;
13413
- } | null;
13414
- /** @enum {string|null} */
13415
- status?: "active" | "inactive" | null;
13416
- currentSync?: {
13417
- /** @enum {string} */
13418
- status: "queued" | "started" | "completed" | "failed" | "canceled";
13419
- createdAt: string;
13420
- updatedAt: string;
13421
- message?: string | null;
13422
- } | null;
13423
- source?: {
13424
- /** Format: uuid */
13425
- id: string;
13426
- type: string;
13427
- /** @enum {string|null} */
13428
- status?: "active" | "inactive" | null;
13429
- } | null;
13430
- }[];
13431
- bankRecords: {
13432
- reconciled: number;
13433
- unreconciled: number;
13434
- total: number;
13435
- latestCreatedAt?: string | null;
13436
- };
13437
- balance?: {
13438
- openingDate?: string | null;
13439
- opening: number;
13440
- ending: number;
13441
- } | null;
13442
- } | null;
11633
+ status: "active" | "inactive";
13443
11634
  }[];
13444
11635
  createdAt: string;
13445
11636
  systemSections: {
@@ -13885,69 +12076,14 @@ export interface operations {
13885
12076
  id: string;
13886
12077
  activeListings: {
13887
12078
  id: string;
13888
- name?: string | null;
13889
- }[];
13890
- linkedAccounts: {
13891
- name: string;
13892
- /** @enum {string|null} */
13893
- status?: "active" | "inactive" | null;
13894
- /** @enum {string} */
13895
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
13896
- id: string;
13897
- offsetAccount?: {
13898
- id: string;
13899
- name: string;
13900
- } | null;
13901
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
13902
- category?: {
13903
- id: string;
13904
- name: string;
13905
- /** @enum {string|null} */
13906
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
13907
- } | null;
13908
- banking?: {
13909
- /** @enum {string|null} */
13910
- category?: "trust" | "operating" | "external" | null;
13911
- /** @enum {string|null} */
13912
- type?: "deposit" | "creditCard" | null;
13913
- last4?: string | null;
13914
- currency?: string | null;
13915
- connections: {
13916
- id: string;
13917
- name: string;
13918
- connection?: {
13919
- id: string;
13920
- icon?: string | null;
13921
- } | null;
13922
- /** @enum {string|null} */
13923
- status?: "active" | "inactive" | null;
13924
- currentSync?: {
13925
- /** @enum {string} */
13926
- status: "queued" | "started" | "completed" | "failed" | "canceled";
13927
- createdAt: string;
13928
- updatedAt: string;
13929
- message?: string | null;
13930
- } | null;
13931
- source?: {
13932
- /** Format: uuid */
13933
- id: string;
13934
- type: string;
13935
- /** @enum {string|null} */
13936
- status?: "active" | "inactive" | null;
13937
- } | null;
13938
- }[];
13939
- bankRecords: {
13940
- reconciled: number;
13941
- unreconciled: number;
13942
- total: number;
13943
- latestCreatedAt?: string | null;
13944
- };
13945
- balance?: {
13946
- openingDate?: string | null;
13947
- opening: number;
13948
- ending: number;
13949
- } | null;
13950
- } | null;
12079
+ name?: string | null;
12080
+ }[];
12081
+ linkedAccounts: {
12082
+ id: string;
12083
+ name: string;
12084
+ uniqueRef?: string | null;
12085
+ /** @enum {string} */
12086
+ status: "active" | "inactive";
13951
12087
  }[];
13952
12088
  createdAt: string;
13953
12089
  systemSections: {
@@ -14405,66 +12541,11 @@ export interface operations {
14405
12541
  name?: string | null;
14406
12542
  }[];
14407
12543
  linkedAccounts: {
12544
+ id: string;
14408
12545
  name: string;
14409
- /** @enum {string|null} */
14410
- status?: "active" | "inactive" | null;
12546
+ uniqueRef?: string | null;
14411
12547
  /** @enum {string} */
14412
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
14413
- id: string;
14414
- offsetAccount?: {
14415
- id: string;
14416
- name: string;
14417
- } | null;
14418
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
14419
- category?: {
14420
- id: string;
14421
- name: string;
14422
- /** @enum {string|null} */
14423
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
14424
- } | null;
14425
- banking?: {
14426
- /** @enum {string|null} */
14427
- category?: "trust" | "operating" | "external" | null;
14428
- /** @enum {string|null} */
14429
- type?: "deposit" | "creditCard" | null;
14430
- last4?: string | null;
14431
- currency?: string | null;
14432
- connections: {
14433
- id: string;
14434
- name: string;
14435
- connection?: {
14436
- id: string;
14437
- icon?: string | null;
14438
- } | null;
14439
- /** @enum {string|null} */
14440
- status?: "active" | "inactive" | null;
14441
- currentSync?: {
14442
- /** @enum {string} */
14443
- status: "queued" | "started" | "completed" | "failed" | "canceled";
14444
- createdAt: string;
14445
- updatedAt: string;
14446
- message?: string | null;
14447
- } | null;
14448
- source?: {
14449
- /** Format: uuid */
14450
- id: string;
14451
- type: string;
14452
- /** @enum {string|null} */
14453
- status?: "active" | "inactive" | null;
14454
- } | null;
14455
- }[];
14456
- bankRecords: {
14457
- reconciled: number;
14458
- unreconciled: number;
14459
- total: number;
14460
- latestCreatedAt?: string | null;
14461
- };
14462
- balance?: {
14463
- openingDate?: string | null;
14464
- opening: number;
14465
- ending: number;
14466
- } | null;
14467
- } | null;
12548
+ status: "active" | "inactive";
14468
12549
  }[];
14469
12550
  createdAt: string;
14470
12551
  systemSections: {
@@ -15251,66 +13332,11 @@ export interface operations {
15251
13332
  name?: string | null;
15252
13333
  }[];
15253
13334
  linkedAccounts: {
13335
+ id: string;
15254
13336
  name: string;
15255
- /** @enum {string|null} */
15256
- status?: "active" | "inactive" | null;
13337
+ uniqueRef?: string | null;
15257
13338
  /** @enum {string} */
15258
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
15259
- id: string;
15260
- offsetAccount?: {
15261
- id: string;
15262
- name: string;
15263
- } | null;
15264
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
15265
- category?: {
15266
- id: string;
15267
- name: string;
15268
- /** @enum {string|null} */
15269
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
15270
- } | null;
15271
- banking?: {
15272
- /** @enum {string|null} */
15273
- category?: "trust" | "operating" | "external" | null;
15274
- /** @enum {string|null} */
15275
- type?: "deposit" | "creditCard" | null;
15276
- last4?: string | null;
15277
- currency?: string | null;
15278
- connections: {
15279
- id: string;
15280
- name: string;
15281
- connection?: {
15282
- id: string;
15283
- icon?: string | null;
15284
- } | null;
15285
- /** @enum {string|null} */
15286
- status?: "active" | "inactive" | null;
15287
- currentSync?: {
15288
- /** @enum {string} */
15289
- status: "queued" | "started" | "completed" | "failed" | "canceled";
15290
- createdAt: string;
15291
- updatedAt: string;
15292
- message?: string | null;
15293
- } | null;
15294
- source?: {
15295
- /** Format: uuid */
15296
- id: string;
15297
- type: string;
15298
- /** @enum {string|null} */
15299
- status?: "active" | "inactive" | null;
15300
- } | null;
15301
- }[];
15302
- bankRecords: {
15303
- reconciled: number;
15304
- unreconciled: number;
15305
- total: number;
15306
- latestCreatedAt?: string | null;
15307
- };
15308
- balance?: {
15309
- openingDate?: string | null;
15310
- opening: number;
15311
- ending: number;
15312
- } | null;
15313
- } | null;
13339
+ status: "active" | "inactive";
15314
13340
  }[];
15315
13341
  createdAt: string;
15316
13342
  systemSections: {
@@ -15623,6 +13649,9 @@ export interface operations {
15623
13649
  account?: {
15624
13650
  id: string;
15625
13651
  name: string;
13652
+ uniqueRef?: string | null;
13653
+ /** @enum {string} */
13654
+ status: "active" | "inactive";
15626
13655
  } | null;
15627
13656
  /** @enum {string} */
15628
13657
  party: "owners" | "manager";
@@ -15673,11 +13702,9 @@ export interface operations {
15673
13702
  account?: {
15674
13703
  id: string;
15675
13704
  name: string;
15676
- bankAccount?: {
15677
- /** Format: uuid */
15678
- id?: string | null;
15679
- name: string;
15680
- } | null;
13705
+ uniqueRef?: string | null;
13706
+ /** @enum {string} */
13707
+ status: "active" | "inactive";
15681
13708
  } | null;
15682
13709
  payment: {
15683
13710
  bankRecordIds: string[];
@@ -16075,6 +14102,9 @@ export interface operations {
16075
14102
  account?: {
16076
14103
  id: string;
16077
14104
  name: string;
14105
+ uniqueRef?: string | null;
14106
+ /** @enum {string} */
14107
+ status: "active" | "inactive";
16078
14108
  } | null;
16079
14109
  /** @enum {string} */
16080
14110
  party: "owners" | "manager";
@@ -16125,11 +14155,9 @@ export interface operations {
16125
14155
  account?: {
16126
14156
  id: string;
16127
14157
  name: string;
16128
- bankAccount?: {
16129
- /** Format: uuid */
16130
- id?: string | null;
16131
- name: string;
16132
- } | null;
14158
+ uniqueRef?: string | null;
14159
+ /** @enum {string} */
14160
+ status: "active" | "inactive";
16133
14161
  } | null;
16134
14162
  payment: {
16135
14163
  bankRecordIds: string[];
@@ -16254,11 +14282,9 @@ export interface operations {
16254
14282
  account?: {
16255
14283
  id: string;
16256
14284
  name: string;
16257
- bankAccount?: {
16258
- /** Format: uuid */
16259
- id?: string | null;
16260
- name: string;
16261
- } | null;
14285
+ uniqueRef?: string | null;
14286
+ /** @enum {string} */
14287
+ status: "active" | "inactive";
16262
14288
  } | null;
16263
14289
  contact?: {
16264
14290
  /** Format: uuid */
@@ -16310,6 +14336,9 @@ export interface operations {
16310
14336
  account?: {
16311
14337
  id: string;
16312
14338
  name: string;
14339
+ uniqueRef?: string | null;
14340
+ /** @enum {string} */
14341
+ status: "active" | "inactive";
16313
14342
  } | null;
16314
14343
  /** @enum {string} */
16315
14344
  party: "owners" | "manager";
@@ -16483,11 +14512,9 @@ export interface operations {
16483
14512
  account?: {
16484
14513
  id: string;
16485
14514
  name: string;
16486
- bankAccount?: {
16487
- /** Format: uuid */
16488
- id?: string | null;
16489
- name: string;
16490
- } | null;
14515
+ uniqueRef?: string | null;
14516
+ /** @enum {string} */
14517
+ status: "active" | "inactive";
16491
14518
  } | null;
16492
14519
  contact?: {
16493
14520
  /** Format: uuid */
@@ -16539,6 +14566,9 @@ export interface operations {
16539
14566
  account?: {
16540
14567
  id: string;
16541
14568
  name: string;
14569
+ uniqueRef?: string | null;
14570
+ /** @enum {string} */
14571
+ status: "active" | "inactive";
16542
14572
  } | null;
16543
14573
  /** @enum {string} */
16544
14574
  party: "owners" | "manager";
@@ -16756,11 +14786,9 @@ export interface operations {
16756
14786
  account?: {
16757
14787
  id: string;
16758
14788
  name: string;
16759
- bankAccount?: {
16760
- /** Format: uuid */
16761
- id?: string | null;
16762
- name: string;
16763
- } | null;
14789
+ uniqueRef?: string | null;
14790
+ /** @enum {string} */
14791
+ status: "active" | "inactive";
16764
14792
  } | null;
16765
14793
  contact?: {
16766
14794
  /** Format: uuid */
@@ -16812,6 +14840,9 @@ export interface operations {
16812
14840
  account?: {
16813
14841
  id: string;
16814
14842
  name: string;
14843
+ uniqueRef?: string | null;
14844
+ /** @enum {string} */
14845
+ status: "active" | "inactive";
16815
14846
  } | null;
16816
14847
  /** @enum {string} */
16817
14848
  party: "owners" | "manager";
@@ -16991,11 +15022,9 @@ export interface operations {
16991
15022
  account?: {
16992
15023
  id: string;
16993
15024
  name: string;
16994
- bankAccount?: {
16995
- /** Format: uuid */
16996
- id?: string | null;
16997
- name: string;
16998
- } | null;
15025
+ uniqueRef?: string | null;
15026
+ /** @enum {string} */
15027
+ status: "active" | "inactive";
16999
15028
  } | null;
17000
15029
  contact?: {
17001
15030
  /** Format: uuid */
@@ -17047,6 +15076,9 @@ export interface operations {
17047
15076
  account?: {
17048
15077
  id: string;
17049
15078
  name: string;
15079
+ uniqueRef?: string | null;
15080
+ /** @enum {string} */
15081
+ status: "active" | "inactive";
17050
15082
  } | null;
17051
15083
  /** @enum {string} */
17052
15084
  party: "owners" | "manager";
@@ -17237,6 +15269,9 @@ export interface operations {
17237
15269
  account?: {
17238
15270
  id: string;
17239
15271
  name: string;
15272
+ uniqueRef?: string | null;
15273
+ /** @enum {string} */
15274
+ status: "active" | "inactive";
17240
15275
  } | null;
17241
15276
  /** @enum {string} */
17242
15277
  party: "owners" | "manager";
@@ -17287,11 +15322,9 @@ export interface operations {
17287
15322
  account?: {
17288
15323
  id: string;
17289
15324
  name: string;
17290
- bankAccount?: {
17291
- /** Format: uuid */
17292
- id?: string | null;
17293
- name: string;
17294
- } | null;
15325
+ uniqueRef?: string | null;
15326
+ /** @enum {string} */
15327
+ status: "active" | "inactive";
17295
15328
  } | null;
17296
15329
  payment: {
17297
15330
  bankRecordIds: string[];
@@ -17512,6 +15545,9 @@ export interface operations {
17512
15545
  account?: {
17513
15546
  id: string;
17514
15547
  name: string;
15548
+ uniqueRef?: string | null;
15549
+ /** @enum {string} */
15550
+ status: "active" | "inactive";
17515
15551
  } | null;
17516
15552
  /** @enum {string} */
17517
15553
  party: "owners" | "manager";
@@ -17562,11 +15598,9 @@ export interface operations {
17562
15598
  account?: {
17563
15599
  id: string;
17564
15600
  name: string;
17565
- bankAccount?: {
17566
- /** Format: uuid */
17567
- id?: string | null;
17568
- name: string;
17569
- } | null;
15601
+ uniqueRef?: string | null;
15602
+ /** @enum {string} */
15603
+ status: "active" | "inactive";
17570
15604
  } | null;
17571
15605
  payment: {
17572
15606
  bankRecordIds: string[];
@@ -17796,6 +15830,9 @@ export interface operations {
17796
15830
  account?: {
17797
15831
  id: string;
17798
15832
  name: string;
15833
+ uniqueRef?: string | null;
15834
+ /** @enum {string} */
15835
+ status: "active" | "inactive";
17799
15836
  } | null;
17800
15837
  /** @enum {string} */
17801
15838
  party: "owners" | "manager";
@@ -17846,11 +15883,9 @@ export interface operations {
17846
15883
  account?: {
17847
15884
  id: string;
17848
15885
  name: string;
17849
- bankAccount?: {
17850
- /** Format: uuid */
17851
- id?: string | null;
17852
- name: string;
17853
- } | null;
15886
+ uniqueRef?: string | null;
15887
+ /** @enum {string} */
15888
+ status: "active" | "inactive";
17854
15889
  } | null;
17855
15890
  payment: {
17856
15891
  bankRecordIds: string[];
@@ -18077,6 +16112,9 @@ export interface operations {
18077
16112
  account?: {
18078
16113
  id: string;
18079
16114
  name: string;
16115
+ uniqueRef?: string | null;
16116
+ /** @enum {string} */
16117
+ status: "active" | "inactive";
18080
16118
  } | null;
18081
16119
  /** @enum {string} */
18082
16120
  party: "owners" | "manager";
@@ -18127,11 +16165,9 @@ export interface operations {
18127
16165
  account?: {
18128
16166
  id: string;
18129
16167
  name: string;
18130
- bankAccount?: {
18131
- /** Format: uuid */
18132
- id?: string | null;
18133
- name: string;
18134
- } | null;
16168
+ uniqueRef?: string | null;
16169
+ /** @enum {string} */
16170
+ status: "active" | "inactive";
18135
16171
  } | null;
18136
16172
  payment: {
18137
16173
  bankRecordIds: string[];
@@ -18278,6 +16314,9 @@ export interface operations {
18278
16314
  account?: {
18279
16315
  id: string;
18280
16316
  name: string;
16317
+ uniqueRef?: string | null;
16318
+ /** @enum {string} */
16319
+ status: "active" | "inactive";
18281
16320
  } | null;
18282
16321
  /** @enum {string} */
18283
16322
  party: "owners" | "manager";
@@ -18328,11 +16367,9 @@ export interface operations {
18328
16367
  account?: {
18329
16368
  id: string;
18330
16369
  name: string;
18331
- bankAccount?: {
18332
- /** Format: uuid */
18333
- id?: string | null;
18334
- name: string;
18335
- } | null;
16370
+ uniqueRef?: string | null;
16371
+ /** @enum {string} */
16372
+ status: "active" | "inactive";
18336
16373
  } | null;
18337
16374
  payment: {
18338
16375
  bankRecordIds: string[];
@@ -18551,6 +16588,9 @@ export interface operations {
18551
16588
  account?: {
18552
16589
  id: string;
18553
16590
  name: string;
16591
+ uniqueRef?: string | null;
16592
+ /** @enum {string} */
16593
+ status: "active" | "inactive";
18554
16594
  } | null;
18555
16595
  /** @enum {string} */
18556
16596
  party: "owners" | "manager";
@@ -18601,11 +16641,9 @@ export interface operations {
18601
16641
  account?: {
18602
16642
  id: string;
18603
16643
  name: string;
18604
- bankAccount?: {
18605
- /** Format: uuid */
18606
- id?: string | null;
18607
- name: string;
18608
- } | null;
16644
+ uniqueRef?: string | null;
16645
+ /** @enum {string} */
16646
+ status: "active" | "inactive";
18609
16647
  } | null;
18610
16648
  payment: {
18611
16649
  bankRecordIds: string[];
@@ -19375,6 +17413,9 @@ export interface operations {
19375
17413
  account?: {
19376
17414
  id: string;
19377
17415
  name: string;
17416
+ uniqueRef?: string | null;
17417
+ /** @enum {string} */
17418
+ status: "active" | "inactive";
19378
17419
  } | null;
19379
17420
  /** @enum {string} */
19380
17421
  party: "owners" | "manager";
@@ -19425,11 +17466,9 @@ export interface operations {
19425
17466
  account?: {
19426
17467
  id: string;
19427
17468
  name: string;
19428
- bankAccount?: {
19429
- /** Format: uuid */
19430
- id?: string | null;
19431
- name: string;
19432
- } | null;
17469
+ uniqueRef?: string | null;
17470
+ /** @enum {string} */
17471
+ status: "active" | "inactive";
19433
17472
  } | null;
19434
17473
  payment: {
19435
17474
  bankRecordIds: string[];
@@ -19575,6 +17614,9 @@ export interface operations {
19575
17614
  offsetAccount?: {
19576
17615
  id: string;
19577
17616
  name: string;
17617
+ uniqueRef?: string | null;
17618
+ /** @enum {string} */
17619
+ status: "active" | "inactive";
19578
17620
  } | null;
19579
17621
  assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
19580
17622
  category?: {
@@ -19726,6 +17768,9 @@ export interface operations {
19726
17768
  offsetAccount?: {
19727
17769
  id: string;
19728
17770
  name: string;
17771
+ uniqueRef?: string | null;
17772
+ /** @enum {string} */
17773
+ status: "active" | "inactive";
19729
17774
  } | null;
19730
17775
  assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
19731
17776
  category?: {
@@ -19938,6 +17983,9 @@ export interface operations {
19938
17983
  offsetAccount?: {
19939
17984
  id: string;
19940
17985
  name: string;
17986
+ uniqueRef?: string | null;
17987
+ /** @enum {string} */
17988
+ status: "active" | "inactive";
19941
17989
  } | null;
19942
17990
  assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
19943
17991
  category?: {
@@ -20097,6 +18145,9 @@ export interface operations {
20097
18145
  offsetAccount?: {
20098
18146
  id: string;
20099
18147
  name: string;
18148
+ uniqueRef?: string | null;
18149
+ /** @enum {string} */
18150
+ status: "active" | "inactive";
20100
18151
  } | null;
20101
18152
  assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
20102
18153
  category?: {
@@ -20763,11 +18814,9 @@ export interface operations {
20763
18814
  account?: {
20764
18815
  id: string;
20765
18816
  name: string;
20766
- bankAccount?: {
20767
- /** Format: uuid */
20768
- id?: string | null;
20769
- name: string;
20770
- } | null;
18817
+ uniqueRef?: string | null;
18818
+ /** @enum {string} */
18819
+ status: "active" | "inactive";
20771
18820
  } | null;
20772
18821
  date: string;
20773
18822
  description: string;
@@ -21010,11 +19059,9 @@ export interface operations {
21010
19059
  account?: {
21011
19060
  id: string;
21012
19061
  name: string;
21013
- bankAccount?: {
21014
- /** Format: uuid */
21015
- id?: string | null;
21016
- name: string;
21017
- } | null;
19062
+ uniqueRef?: string | null;
19063
+ /** @enum {string} */
19064
+ status: "active" | "inactive";
21018
19065
  } | null;
21019
19066
  date: string;
21020
19067
  description: string;
@@ -23345,66 +21392,11 @@ export interface operations {
23345
21392
  [key: string]: unknown;
23346
21393
  } | null;
23347
21394
  account?: {
21395
+ id: string;
23348
21396
  name: string;
23349
- /** @enum {string|null} */
23350
- status?: "active" | "inactive" | null;
21397
+ uniqueRef?: string | null;
23351
21398
  /** @enum {string} */
23352
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
23353
- id: string;
23354
- offsetAccount?: {
23355
- id: string;
23356
- name: string;
23357
- } | null;
23358
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
23359
- category?: {
23360
- id: string;
23361
- name: string;
23362
- /** @enum {string|null} */
23363
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
23364
- } | null;
23365
- banking?: {
23366
- /** @enum {string|null} */
23367
- category?: "trust" | "operating" | "external" | null;
23368
- /** @enum {string|null} */
23369
- type?: "deposit" | "creditCard" | null;
23370
- last4?: string | null;
23371
- currency?: string | null;
23372
- connections: {
23373
- id: string;
23374
- name: string;
23375
- connection?: {
23376
- id: string;
23377
- icon?: string | null;
23378
- } | null;
23379
- /** @enum {string|null} */
23380
- status?: "active" | "inactive" | null;
23381
- currentSync?: {
23382
- /** @enum {string} */
23383
- status: "queued" | "started" | "completed" | "failed" | "canceled";
23384
- createdAt: string;
23385
- updatedAt: string;
23386
- message?: string | null;
23387
- } | null;
23388
- source?: {
23389
- /** Format: uuid */
23390
- id: string;
23391
- type: string;
23392
- /** @enum {string|null} */
23393
- status?: "active" | "inactive" | null;
23394
- } | null;
23395
- }[];
23396
- bankRecords: {
23397
- reconciled: number;
23398
- unreconciled: number;
23399
- total: number;
23400
- latestCreatedAt?: string | null;
23401
- };
23402
- balance?: {
23403
- openingDate?: string | null;
23404
- opening: number;
23405
- ending: number;
23406
- } | null;
23407
- } | null;
21399
+ status: "active" | "inactive";
23408
21400
  } | null;
23409
21401
  isExcluded?: boolean | null;
23410
21402
  }[];
@@ -23422,66 +21414,11 @@ export interface operations {
23422
21414
  /** @enum {string|null} */
23423
21415
  party?: "owners" | "manager" | null;
23424
21416
  account?: {
21417
+ id: string;
23425
21418
  name: string;
23426
- /** @enum {string|null} */
23427
- status?: "active" | "inactive" | null;
21419
+ uniqueRef?: string | null;
23428
21420
  /** @enum {string} */
23429
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
23430
- id: string;
23431
- offsetAccount?: {
23432
- id: string;
23433
- name: string;
23434
- } | null;
23435
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
23436
- category?: {
23437
- id: string;
23438
- name: string;
23439
- /** @enum {string|null} */
23440
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
23441
- } | null;
23442
- banking?: {
23443
- /** @enum {string|null} */
23444
- category?: "trust" | "operating" | "external" | null;
23445
- /** @enum {string|null} */
23446
- type?: "deposit" | "creditCard" | null;
23447
- last4?: string | null;
23448
- currency?: string | null;
23449
- connections: {
23450
- id: string;
23451
- name: string;
23452
- connection?: {
23453
- id: string;
23454
- icon?: string | null;
23455
- } | null;
23456
- /** @enum {string|null} */
23457
- status?: "active" | "inactive" | null;
23458
- currentSync?: {
23459
- /** @enum {string} */
23460
- status: "queued" | "started" | "completed" | "failed" | "canceled";
23461
- createdAt: string;
23462
- updatedAt: string;
23463
- message?: string | null;
23464
- } | null;
23465
- source?: {
23466
- /** Format: uuid */
23467
- id: string;
23468
- type: string;
23469
- /** @enum {string|null} */
23470
- status?: "active" | "inactive" | null;
23471
- } | null;
23472
- }[];
23473
- bankRecords: {
23474
- reconciled: number;
23475
- unreconciled: number;
23476
- total: number;
23477
- latestCreatedAt?: string | null;
23478
- };
23479
- balance?: {
23480
- openingDate?: string | null;
23481
- opening: number;
23482
- ending: number;
23483
- } | null;
23484
- } | null;
21421
+ status: "active" | "inactive";
23485
21422
  } | null;
23486
21423
  recurringFee?: {
23487
21424
  id: string;