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