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

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.
@@ -1283,6 +1283,23 @@ export interface paths {
1283
1283
  patch?: never;
1284
1284
  trace?: never;
1285
1285
  };
1286
+ "/extract": {
1287
+ parameters: {
1288
+ query?: never;
1289
+ header?: never;
1290
+ path?: never;
1291
+ cookie?: never;
1292
+ };
1293
+ get?: never;
1294
+ put?: never;
1295
+ /** @description Trigger extract workflows for connections. */
1296
+ post: operations["extract"];
1297
+ delete?: never;
1298
+ options?: never;
1299
+ head?: never;
1300
+ patch?: never;
1301
+ trace?: never;
1302
+ };
1286
1303
  "/syncs/{id}": {
1287
1304
  parameters: {
1288
1305
  query?: never;
@@ -2263,9 +2280,9 @@ export interface components {
2263
2280
  total: number;
2264
2281
  values: components["schemas"]["ProfitAndLossValueCell"][];
2265
2282
  };
2266
- /** @description Collection of settings returned by GET routes. Each value is either { id, name, type } or the raw stored value when type=value. */
2283
+ /** @description Collection of settings returned by GET routes with normalized { id, name, type } value payloads. */
2267
2284
  FlowSettingItemsGet: components["schemas"]["FlowSettingItemGet"][];
2268
- /** @description Setting representation returned from GET routes. value is { id, name, type } for resolved entities or the raw stored value when type=value. */
2285
+ /** @description Setting representation returned from GET routes with normalized { id, name, type } value payload. */
2269
2286
  FlowSettingItemGet: {
2270
2287
  /** Format: uuid */
2271
2288
  id: string;
@@ -2282,20 +2299,22 @@ export interface components {
2282
2299
  */
2283
2300
  type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2284
2301
  filter: string | null;
2285
- value: components["schemas"]["FlowMappingResolvedEntityValue"] | ((string | number | boolean | null) | (string | number | boolean | null)[] | {
2286
- [key: string]: string | number | boolean | null;
2287
- });
2302
+ value: components["schemas"]["FlowMappingResolvedEntityValue"];
2288
2303
  };
2289
- /** @description Resolved mapping entity summary ({ id, name, type }) returned by GET endpoints. */
2304
+ /** @description Resolved mapping entity summary ({ id, name, type }) returned by endpoints. */
2290
2305
  FlowMappingResolvedEntityValue: {
2291
2306
  /** Format: uuid */
2292
2307
  id: string;
2293
- name: string | null;
2294
- type: "account" | "bookingChannel" | "contact" | "listing" | "source";
2308
+ name: string;
2309
+ /**
2310
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2311
+ * @enum {string}
2312
+ */
2313
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2295
2314
  };
2296
- /** @description Collection of settings after mutation with value equal to the entity id. */
2315
+ /** @description Collection of settings after mutation with normalized { id, name, type } value payloads. */
2297
2316
  FlowSettingItemsPost: components["schemas"]["FlowSettingItemPost"][];
2298
- /** @description Setting representation returned from mutation routes with value=id. */
2317
+ /** @description Setting representation returned from mutation routes with normalized { id, name, type } value payload. */
2299
2318
  FlowSettingItemPost: {
2300
2319
  /** Format: uuid */
2301
2320
  id: string;
@@ -2312,14 +2331,9 @@ export interface components {
2312
2331
  */
2313
2332
  type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2314
2333
  filter: string | null;
2315
- value: components["schemas"]["FlowMappingPostValue"];
2334
+ value: components["schemas"]["FlowMappingResolvedEntityValue"];
2316
2335
  };
2317
- /**
2318
- * Format: uuid
2319
- * @description Identifier of the selected entity, used when creating or updating mappings/settings.
2320
- */
2321
- FlowMappingPostValue: string;
2322
- /** @description Mapping entry returned from GET routes. value is { id, name, type } for resolved entities or the raw value when type=value. */
2336
+ /** @description Mapping entry returned from GET routes with normalized { id, name, type } value payload. */
2323
2337
  FlowMappingItemGet: {
2324
2338
  /** Format: uuid */
2325
2339
  id: string;
@@ -2328,14 +2342,13 @@ export interface components {
2328
2342
  /** Format: uuid */
2329
2343
  connectionId: string;
2330
2344
  mappingKey: string;
2331
- sourceId: string | null;
2345
+ /** Format: uuid */
2346
+ sourceId: string;
2332
2347
  title: string | null;
2333
2348
  description: string | null;
2334
- value: components["schemas"]["FlowMappingResolvedEntityValue"] | ((string | number | boolean | null) | (string | number | boolean | null)[] | {
2335
- [key: string]: string | number | boolean | null;
2336
- });
2349
+ value: components["schemas"]["FlowMappingResolvedEntityValue"];
2337
2350
  };
2338
- /** @description Mapping entry returned from mutation routes with value=id. */
2351
+ /** @description Mapping entry returned from mutation routes with resolved entity payload. */
2339
2352
  FlowMappingItemPost: {
2340
2353
  /** Format: uuid */
2341
2354
  id: string;
@@ -2344,10 +2357,11 @@ export interface components {
2344
2357
  /** Format: uuid */
2345
2358
  connectionId: string;
2346
2359
  mappingKey: string;
2347
- sourceId: string | null;
2360
+ /** Format: uuid */
2361
+ sourceId: string;
2348
2362
  title: string | null;
2349
2363
  description: string | null;
2350
- value: components["schemas"]["FlowMappingPostValue"];
2364
+ value: components["schemas"]["FlowMappingResolvedEntityValue"];
2351
2365
  };
2352
2366
  };
2353
2367
  responses: never;
@@ -2413,66 +2427,11 @@ export interface operations {
2413
2427
  /** @enum {string|null} */
2414
2428
  status: "active" | "inactive" | null;
2415
2429
  account?: {
2430
+ id: string;
2416
2431
  name: string;
2417
- /** @enum {string|null} */
2418
- status?: "active" | "inactive" | null;
2432
+ uniqueRef?: string | null;
2419
2433
  /** @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;
2434
+ status: "active" | "inactive";
2476
2435
  } | null;
2477
2436
  source?: {
2478
2437
  /** Format: uuid */
@@ -2578,66 +2537,11 @@ export interface operations {
2578
2537
  /** @enum {string|null} */
2579
2538
  status: "active" | "inactive" | null;
2580
2539
  account?: {
2540
+ id: string;
2581
2541
  name: string;
2582
- /** @enum {string|null} */
2583
- status?: "active" | "inactive" | null;
2542
+ uniqueRef?: string | null;
2584
2543
  /** @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;
2544
+ status: "active" | "inactive";
2641
2545
  } | null;
2642
2546
  source?: {
2643
2547
  /** Format: uuid */
@@ -3023,66 +2927,11 @@ export interface operations {
3023
2927
  [key: string]: unknown;
3024
2928
  } | null;
3025
2929
  account?: {
2930
+ id: string;
3026
2931
  name: string;
3027
- /** @enum {string|null} */
3028
- status?: "active" | "inactive" | null;
2932
+ uniqueRef?: string | null;
3029
2933
  /** @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;
2934
+ status: "active" | "inactive";
3086
2935
  } | null;
3087
2936
  isExcluded?: boolean | null;
3088
2937
  }[];
@@ -3191,66 +3040,11 @@ export interface operations {
3191
3040
  [key: string]: unknown;
3192
3041
  } | null;
3193
3042
  account?: {
3043
+ id: string;
3194
3044
  name: string;
3195
- /** @enum {string|null} */
3196
- status?: "active" | "inactive" | null;
3045
+ uniqueRef?: string | null;
3197
3046
  /** @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;
3047
+ status: "active" | "inactive";
3254
3048
  } | null;
3255
3049
  isExcluded?: boolean | null;
3256
3050
  }[];
@@ -3399,66 +3193,11 @@ export interface operations {
3399
3193
  [key: string]: unknown;
3400
3194
  } | null;
3401
3195
  account?: {
3196
+ id: string;
3402
3197
  name: string;
3403
- /** @enum {string|null} */
3404
- status?: "active" | "inactive" | null;
3198
+ uniqueRef?: string | null;
3405
3199
  /** @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;
3200
+ status: "active" | "inactive";
3462
3201
  } | null;
3463
3202
  isExcluded?: boolean | null;
3464
3203
  }[];
@@ -3646,66 +3385,11 @@ export interface operations {
3646
3385
  [key: string]: unknown;
3647
3386
  } | null;
3648
3387
  account?: {
3388
+ id: string;
3649
3389
  name: string;
3650
- /** @enum {string|null} */
3651
- status?: "active" | "inactive" | null;
3390
+ uniqueRef?: string | null;
3652
3391
  /** @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;
3392
+ status: "active" | "inactive";
3709
3393
  } | null;
3710
3394
  isExcluded?: boolean | null;
3711
3395
  }[];
@@ -3864,66 +3548,11 @@ export interface operations {
3864
3548
  [key: string]: unknown;
3865
3549
  } | null;
3866
3550
  account?: {
3551
+ id: string;
3867
3552
  name: string;
3868
- /** @enum {string|null} */
3869
- status?: "active" | "inactive" | null;
3553
+ uniqueRef?: string | null;
3870
3554
  /** @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;
3555
+ status: "active" | "inactive";
3927
3556
  } | null;
3928
3557
  isExcluded?: boolean | null;
3929
3558
  }[];
@@ -4475,6 +4104,9 @@ export interface operations {
4475
4104
  account?: {
4476
4105
  id: string;
4477
4106
  name: string;
4107
+ uniqueRef?: string | null;
4108
+ /** @enum {string} */
4109
+ status: "active" | "inactive";
4478
4110
  /** @enum {string} */
4479
4111
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4480
4112
  } | null;
@@ -4494,11 +4126,9 @@ export interface operations {
4494
4126
  account?: {
4495
4127
  id: string;
4496
4128
  name: string;
4497
- bankAccount?: {
4498
- /** Format: uuid */
4499
- id?: string | null;
4500
- name: string;
4501
- } | null;
4129
+ uniqueRef?: string | null;
4130
+ /** @enum {string} */
4131
+ status: "active" | "inactive";
4502
4132
  } | null;
4503
4133
  date: string;
4504
4134
  description: string;
@@ -4586,66 +4216,11 @@ export interface operations {
4586
4216
  [key: string]: unknown;
4587
4217
  } | null;
4588
4218
  account?: {
4219
+ id: string;
4589
4220
  name: string;
4590
- /** @enum {string|null} */
4591
- status?: "active" | "inactive" | null;
4221
+ uniqueRef?: string | null;
4592
4222
  /** @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;
4223
+ status: "active" | "inactive";
4649
4224
  } | null;
4650
4225
  isExcluded?: boolean | null;
4651
4226
  }[];
@@ -4663,66 +4238,11 @@ export interface operations {
4663
4238
  /** @enum {string|null} */
4664
4239
  party?: "owners" | "manager" | null;
4665
4240
  account?: {
4241
+ id: string;
4666
4242
  name: string;
4667
- /** @enum {string|null} */
4668
- status?: "active" | "inactive" | null;
4243
+ uniqueRef?: string | null;
4669
4244
  /** @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;
4245
+ status: "active" | "inactive";
4726
4246
  } | null;
4727
4247
  recurringFee?: {
4728
4248
  id: string;
@@ -4962,6 +4482,9 @@ export interface operations {
4962
4482
  account?: {
4963
4483
  id: string;
4964
4484
  name: string;
4485
+ uniqueRef?: string | null;
4486
+ /** @enum {string} */
4487
+ status: "active" | "inactive";
4965
4488
  /** @enum {string} */
4966
4489
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4967
4490
  } | null;
@@ -4981,11 +4504,9 @@ export interface operations {
4981
4504
  account?: {
4982
4505
  id: string;
4983
4506
  name: string;
4984
- bankAccount?: {
4985
- /** Format: uuid */
4986
- id?: string | null;
4987
- name: string;
4988
- } | null;
4507
+ uniqueRef?: string | null;
4508
+ /** @enum {string} */
4509
+ status: "active" | "inactive";
4989
4510
  } | null;
4990
4511
  date: string;
4991
4512
  description: string;
@@ -5073,66 +4594,11 @@ export interface operations {
5073
4594
  [key: string]: unknown;
5074
4595
  } | null;
5075
4596
  account?: {
4597
+ id: string;
5076
4598
  name: string;
5077
- /** @enum {string|null} */
5078
- status?: "active" | "inactive" | null;
4599
+ uniqueRef?: string | null;
5079
4600
  /** @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;
4601
+ status: "active" | "inactive";
5136
4602
  } | null;
5137
4603
  isExcluded?: boolean | null;
5138
4604
  }[];
@@ -5150,66 +4616,11 @@ export interface operations {
5150
4616
  /** @enum {string|null} */
5151
4617
  party?: "owners" | "manager" | null;
5152
4618
  account?: {
4619
+ id: string;
5153
4620
  name: string;
5154
- /** @enum {string|null} */
5155
- status?: "active" | "inactive" | null;
4621
+ uniqueRef?: string | null;
5156
4622
  /** @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;
4623
+ status: "active" | "inactive";
5213
4624
  } | null;
5214
4625
  recurringFee?: {
5215
4626
  id: string;
@@ -5530,6 +4941,9 @@ export interface operations {
5530
4941
  account?: {
5531
4942
  id: string;
5532
4943
  name: string;
4944
+ uniqueRef?: string | null;
4945
+ /** @enum {string} */
4946
+ status: "active" | "inactive";
5533
4947
  /** @enum {string} */
5534
4948
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
5535
4949
  } | null;
@@ -5549,11 +4963,9 @@ export interface operations {
5549
4963
  account?: {
5550
4964
  id: string;
5551
4965
  name: string;
5552
- bankAccount?: {
5553
- /** Format: uuid */
5554
- id?: string | null;
5555
- name: string;
5556
- } | null;
4966
+ uniqueRef?: string | null;
4967
+ /** @enum {string} */
4968
+ status: "active" | "inactive";
5557
4969
  } | null;
5558
4970
  date: string;
5559
4971
  description: string;
@@ -5641,66 +5053,11 @@ export interface operations {
5641
5053
  [key: string]: unknown;
5642
5054
  } | null;
5643
5055
  account?: {
5056
+ id: string;
5644
5057
  name: string;
5645
- /** @enum {string|null} */
5646
- status?: "active" | "inactive" | null;
5058
+ uniqueRef?: string | null;
5647
5059
  /** @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;
5060
+ status: "active" | "inactive";
5704
5061
  } | null;
5705
5062
  isExcluded?: boolean | null;
5706
5063
  }[];
@@ -5718,66 +5075,11 @@ export interface operations {
5718
5075
  /** @enum {string|null} */
5719
5076
  party?: "owners" | "manager" | null;
5720
5077
  account?: {
5078
+ id: string;
5721
5079
  name: string;
5722
- /** @enum {string|null} */
5723
- status?: "active" | "inactive" | null;
5080
+ uniqueRef?: string | null;
5724
5081
  /** @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;
5082
+ status: "active" | "inactive";
5781
5083
  } | null;
5782
5084
  recurringFee?: {
5783
5085
  id: string;
@@ -6062,66 +5364,11 @@ export interface operations {
6062
5364
  [key: string]: unknown;
6063
5365
  } | null;
6064
5366
  account?: {
5367
+ id: string;
6065
5368
  name: string;
6066
- /** @enum {string|null} */
6067
- status?: "active" | "inactive" | null;
5369
+ uniqueRef?: string | null;
6068
5370
  /** @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;
5371
+ status: "active" | "inactive";
6125
5372
  } | null;
6126
5373
  isExcluded?: boolean | null;
6127
5374
  }[];
@@ -6366,6 +5613,9 @@ export interface operations {
6366
5613
  account?: {
6367
5614
  id: string;
6368
5615
  name: string;
5616
+ uniqueRef?: string | null;
5617
+ /** @enum {string} */
5618
+ status: "active" | "inactive";
6369
5619
  /** @enum {string} */
6370
5620
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
6371
5621
  } | null;
@@ -6385,11 +5635,9 @@ export interface operations {
6385
5635
  account?: {
6386
5636
  id: string;
6387
5637
  name: string;
6388
- bankAccount?: {
6389
- /** Format: uuid */
6390
- id?: string | null;
6391
- name: string;
6392
- } | null;
5638
+ uniqueRef?: string | null;
5639
+ /** @enum {string} */
5640
+ status: "active" | "inactive";
6393
5641
  } | null;
6394
5642
  date: string;
6395
5643
  description: string;
@@ -6477,66 +5725,11 @@ export interface operations {
6477
5725
  [key: string]: unknown;
6478
5726
  } | null;
6479
5727
  account?: {
5728
+ id: string;
6480
5729
  name: string;
6481
- /** @enum {string|null} */
6482
- status?: "active" | "inactive" | null;
5730
+ uniqueRef?: string | null;
6483
5731
  /** @enum {string} */
6484
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
6485
- 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;
5732
+ status: "active" | "inactive";
6540
5733
  } | null;
6541
5734
  isExcluded?: boolean | null;
6542
5735
  }[];
@@ -6554,66 +5747,11 @@ export interface operations {
6554
5747
  /** @enum {string|null} */
6555
5748
  party?: "owners" | "manager" | null;
6556
5749
  account?: {
5750
+ id: string;
6557
5751
  name: string;
6558
- /** @enum {string|null} */
6559
- status?: "active" | "inactive" | null;
5752
+ uniqueRef?: string | null;
6560
5753
  /** @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;
5754
+ status: "active" | "inactive";
6617
5755
  } | null;
6618
5756
  recurringFee?: {
6619
5757
  id: string;
@@ -6687,7 +5825,7 @@ export interface operations {
6687
5825
  data: {
6688
5826
  /** Format: uuid */
6689
5827
  listingId: string;
6690
- /** @default 2025-10-29 */
5828
+ /** @default 2025-10-30 */
6691
5829
  startAt: string;
6692
5830
  endAt?: string | null;
6693
5831
  setListingInactive?: boolean | null;
@@ -6769,7 +5907,7 @@ export interface operations {
6769
5907
  "application/json": {
6770
5908
  /** Format: uuid */
6771
5909
  listingId: string;
6772
- /** @default 2025-10-29 */
5910
+ /** @default 2025-10-30 */
6773
5911
  startAt?: string;
6774
5912
  endAt?: string | null;
6775
5913
  members: {
@@ -6803,7 +5941,7 @@ export interface operations {
6803
5941
  "application/json": {
6804
5942
  /** Format: uuid */
6805
5943
  listingId: string;
6806
- /** @default 2025-10-29 */
5944
+ /** @default 2025-10-30 */
6807
5945
  startAt: string;
6808
5946
  endAt?: string | null;
6809
5947
  setListingInactive?: boolean | null;
@@ -6883,7 +6021,7 @@ export interface operations {
6883
6021
  "application/json": {
6884
6022
  /** Format: uuid */
6885
6023
  listingId: string;
6886
- /** @default 2025-10-29 */
6024
+ /** @default 2025-10-30 */
6887
6025
  startAt: string;
6888
6026
  endAt?: string | null;
6889
6027
  setListingInactive?: boolean | null;
@@ -6966,7 +6104,7 @@ export interface operations {
6966
6104
  "application/json": {
6967
6105
  /** Format: uuid */
6968
6106
  listingId?: string;
6969
- /** @default 2025-10-29 */
6107
+ /** @default 2025-10-30 */
6970
6108
  startAt?: string;
6971
6109
  endAt?: string | null;
6972
6110
  members?: {
@@ -7000,7 +6138,7 @@ export interface operations {
7000
6138
  "application/json": {
7001
6139
  /** Format: uuid */
7002
6140
  listingId: string;
7003
- /** @default 2025-10-29 */
6141
+ /** @default 2025-10-30 */
7004
6142
  startAt: string;
7005
6143
  endAt?: string | null;
7006
6144
  setListingInactive?: boolean | null;
@@ -7186,7 +6324,7 @@ export interface operations {
7186
6324
  /** Format: uuid */
7187
6325
  sourceId?: string | null;
7188
6326
  initialOwnership?: {
7189
- /** @default 2025-10-29 */
6327
+ /** @default 2025-10-30 */
7190
6328
  startAt?: string;
7191
6329
  endAt?: string | null;
7192
6330
  members: {
@@ -7244,7 +6382,7 @@ export interface operations {
7244
6382
  status: "active" | "inactive";
7245
6383
  defaultCurrency?: string | null;
7246
6384
  activeOwnership?: {
7247
- /** @default 2025-10-29 */
6385
+ /** @default 2025-10-30 */
7248
6386
  startAt: string;
7249
6387
  endAt?: string | null;
7250
6388
  setListingInactive?: boolean | null;
@@ -7485,7 +6623,7 @@ export interface operations {
7485
6623
  status: "active" | "inactive";
7486
6624
  defaultCurrency?: string | null;
7487
6625
  activeOwnership?: {
7488
- /** @default 2025-10-29 */
6626
+ /** @default 2025-10-30 */
7489
6627
  startAt: string;
7490
6628
  endAt?: string | null;
7491
6629
  setListingInactive?: boolean | null;
@@ -7624,7 +6762,7 @@ export interface operations {
7624
6762
  /** Format: uuid */
7625
6763
  sourceId?: string | null;
7626
6764
  initialOwnership?: {
7627
- /** @default 2025-10-29 */
6765
+ /** @default 2025-10-30 */
7628
6766
  startAt?: string;
7629
6767
  endAt?: string | null;
7630
6768
  members: {
@@ -7678,7 +6816,7 @@ export interface operations {
7678
6816
  status: "active" | "inactive";
7679
6817
  defaultCurrency?: string | null;
7680
6818
  activeOwnership?: {
7681
- /** @default 2025-10-29 */
6819
+ /** @default 2025-10-30 */
7682
6820
  startAt: string;
7683
6821
  endAt?: string | null;
7684
6822
  setListingInactive?: boolean | null;
@@ -7895,7 +7033,7 @@ export interface operations {
7895
7033
  status: "active" | "inactive";
7896
7034
  defaultCurrency?: string | null;
7897
7035
  activeOwnership?: {
7898
- /** @default 2025-10-29 */
7036
+ /** @default 2025-10-30 */
7899
7037
  startAt: string;
7900
7038
  endAt?: string | null;
7901
7039
  setListingInactive?: boolean | null;
@@ -8042,7 +7180,7 @@ export interface operations {
8042
7180
  /** Format: uuid */
8043
7181
  sourceId?: string | null;
8044
7182
  initialOwnership?: {
8045
- /** @default 2025-10-29 */
7183
+ /** @default 2025-10-30 */
8046
7184
  startAt?: string;
8047
7185
  endAt?: string | null;
8048
7186
  members: {
@@ -8096,7 +7234,7 @@ export interface operations {
8096
7234
  status: "active" | "inactive";
8097
7235
  defaultCurrency?: string | null;
8098
7236
  activeOwnership?: {
8099
- /** @default 2025-10-29 */
7237
+ /** @default 2025-10-30 */
8100
7238
  startAt: string;
8101
7239
  endAt?: string | null;
8102
7240
  setListingInactive?: boolean | null;
@@ -9847,6 +8985,9 @@ export interface operations {
9847
8985
  account?: {
9848
8986
  id: string;
9849
8987
  name: string;
8988
+ uniqueRef?: string | null;
8989
+ /** @enum {string} */
8990
+ status: "active" | "inactive";
9850
8991
  /** @enum {string} */
9851
8992
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
9852
8993
  } | null;
@@ -9866,11 +9007,9 @@ export interface operations {
9866
9007
  account?: {
9867
9008
  id: string;
9868
9009
  name: string;
9869
- bankAccount?: {
9870
- /** Format: uuid */
9871
- id?: string | null;
9872
- name: string;
9873
- } | null;
9010
+ uniqueRef?: string | null;
9011
+ /** @enum {string} */
9012
+ status: "active" | "inactive";
9874
9013
  } | null;
9875
9014
  date: string;
9876
9015
  description: string;
@@ -10438,206 +9577,41 @@ export interface operations {
10438
9577
  id: string;
10439
9578
  uniqueRef: string;
10440
9579
  creditAccount: {
9580
+ id: string;
10441
9581
  name: string;
10442
- /** @enum {string|null} */
10443
- status?: "active" | "inactive" | null;
9582
+ uniqueRef?: string | null;
10444
9583
  /** @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;
9584
+ status: "active" | "inactive";
10501
9585
  };
10502
9586
  debitAccount: {
9587
+ id: string;
10503
9588
  name: string;
10504
- /** @enum {string|null} */
10505
- status?: "active" | "inactive" | null;
9589
+ uniqueRef?: string | null;
10506
9590
  /** @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;
9591
+ status: "active" | "inactive";
10563
9592
  };
10564
9593
  linkedAccounts: {
9594
+ id: string;
9595
+ name: string;
9596
+ uniqueRef?: string | null;
9597
+ /** @enum {string} */
9598
+ status: "active" | "inactive";
9599
+ }[];
9600
+ taxRate?: {
10565
9601
  name: string;
9602
+ countryCode?: string | null;
9603
+ currency?: string | null;
9604
+ /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9605
+ basisPoints: number;
9606
+ /** @enum {string|null} */
9607
+ type?: "markup" | "tax" | null;
9608
+ uniqueRef?: string | null;
10566
9609
  /** @enum {string|null} */
10567
9610
  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;
9611
+ /** Format: uuid */
9612
+ accountId?: string | null;
9613
+ /** Format: uuid */
9614
+ debitAccountId?: string | null;
10641
9615
  id: string;
10642
9616
  } | null;
10643
9617
  };
@@ -10772,190 +9746,25 @@ export interface operations {
10772
9746
  id: string;
10773
9747
  uniqueRef: string;
10774
9748
  creditAccount: {
9749
+ id: string;
10775
9750
  name: string;
10776
- /** @enum {string|null} */
10777
- status?: "active" | "inactive" | null;
9751
+ uniqueRef?: string | null;
10778
9752
  /** @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;
9753
+ status: "active" | "inactive";
10835
9754
  };
10836
9755
  debitAccount: {
9756
+ id: string;
10837
9757
  name: string;
10838
- /** @enum {string|null} */
10839
- status?: "active" | "inactive" | null;
9758
+ uniqueRef?: string | null;
10840
9759
  /** @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;
9760
+ status: "active" | "inactive";
10897
9761
  };
10898
9762
  linkedAccounts: {
9763
+ id: string;
10899
9764
  name: string;
10900
- /** @enum {string|null} */
10901
- status?: "active" | "inactive" | null;
9765
+ uniqueRef?: string | null;
10902
9766
  /** @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;
9767
+ status: "active" | "inactive";
10959
9768
  }[];
10960
9769
  taxRate?: {
10961
9770
  name: string;
@@ -11145,190 +9954,25 @@ export interface operations {
11145
9954
  id: string;
11146
9955
  uniqueRef: string;
11147
9956
  creditAccount: {
9957
+ id: string;
11148
9958
  name: string;
11149
- /** @enum {string|null} */
11150
- status?: "active" | "inactive" | null;
9959
+ uniqueRef?: string | null;
11151
9960
  /** @enum {string} */
11152
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
11153
- 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;
9961
+ status: "active" | "inactive";
11208
9962
  };
11209
9963
  debitAccount: {
9964
+ id: string;
11210
9965
  name: string;
11211
- /** @enum {string|null} */
11212
- status?: "active" | "inactive" | null;
9966
+ uniqueRef?: string | null;
11213
9967
  /** @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;
9968
+ status: "active" | "inactive";
11270
9969
  };
11271
9970
  linkedAccounts: {
9971
+ id: string;
11272
9972
  name: string;
11273
- /** @enum {string|null} */
11274
- status?: "active" | "inactive" | null;
9973
+ uniqueRef?: string | null;
11275
9974
  /** @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;
9975
+ status: "active" | "inactive";
11332
9976
  }[];
11333
9977
  taxRate?: {
11334
9978
  name: string;
@@ -11487,190 +10131,25 @@ export interface operations {
11487
10131
  id: string;
11488
10132
  uniqueRef: string;
11489
10133
  creditAccount: {
11490
- name: string;
11491
- /** @enum {string|null} */
11492
- status?: "active" | "inactive" | null;
11493
- /** @enum {string} */
11494
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
11495
10134
  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;
10135
+ name: string;
10136
+ uniqueRef?: string | null;
10137
+ /** @enum {string} */
10138
+ status: "active" | "inactive";
11550
10139
  };
11551
10140
  debitAccount: {
10141
+ id: string;
11552
10142
  name: string;
11553
- /** @enum {string|null} */
11554
- status?: "active" | "inactive" | null;
10143
+ uniqueRef?: string | null;
11555
10144
  /** @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;
10145
+ status: "active" | "inactive";
11612
10146
  };
11613
10147
  linkedAccounts: {
10148
+ id: string;
11614
10149
  name: string;
11615
- /** @enum {string|null} */
11616
- status?: "active" | "inactive" | null;
10150
+ uniqueRef?: string | null;
11617
10151
  /** @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;
10152
+ status: "active" | "inactive";
11674
10153
  }[];
11675
10154
  taxRate?: {
11676
10155
  name: string;
@@ -11814,66 +10293,11 @@ export interface operations {
11814
10293
  name?: string | null;
11815
10294
  }[];
11816
10295
  linkedAccounts: {
10296
+ id: string;
11817
10297
  name: string;
11818
- /** @enum {string|null} */
11819
- status?: "active" | "inactive" | null;
10298
+ uniqueRef?: string | null;
11820
10299
  /** @enum {string} */
11821
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
11822
- 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;
10300
+ status: "active" | "inactive";
11877
10301
  }[];
11878
10302
  createdAt: string;
11879
10303
  systemSections: {
@@ -12104,66 +10528,11 @@ export interface operations {
12104
10528
  name?: string | null;
12105
10529
  }[];
12106
10530
  linkedAccounts: {
10531
+ id: string;
12107
10532
  name: string;
12108
- /** @enum {string|null} */
12109
- status?: "active" | "inactive" | null;
10533
+ uniqueRef?: string | null;
12110
10534
  /** @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;
10535
+ status: "active" | "inactive";
12167
10536
  }[];
12168
10537
  createdAt: string;
12169
10538
  systemSections: {
@@ -12300,81 +10669,26 @@ export interface operations {
12300
10669
  value: string;
12301
10670
  } | {
12302
10671
  id?: string | null;
12303
- name: string;
12304
- locked?: boolean | null;
12305
- /** @enum {string|null} */
12306
- visible?: "all" | "manager" | "none" | null;
12307
- /** @enum {string} */
12308
- type: "accounts";
12309
- value: string[];
12310
- })[];
12311
- }[];
12312
- id: string;
12313
- activeListings: {
12314
- id: string;
12315
- name?: string | null;
12316
- }[];
12317
- linkedAccounts: {
12318
- name: string;
12319
- /** @enum {string|null} */
12320
- status?: "active" | "inactive" | null;
12321
- /** @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;
10672
+ name: string;
10673
+ locked?: boolean | null;
12338
10674
  /** @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;
10675
+ visible?: "all" | "manager" | "none" | null;
10676
+ /** @enum {string} */
10677
+ type: "accounts";
10678
+ value: string[];
10679
+ })[];
10680
+ }[];
10681
+ id: string;
10682
+ activeListings: {
10683
+ id: string;
10684
+ name?: string | null;
10685
+ }[];
10686
+ linkedAccounts: {
10687
+ id: string;
10688
+ name: string;
10689
+ uniqueRef?: string | null;
10690
+ /** @enum {string} */
10691
+ status: "active" | "inactive";
12378
10692
  }[];
12379
10693
  createdAt: string;
12380
10694
  systemSections: {
@@ -12597,66 +10911,11 @@ export interface operations {
12597
10911
  name?: string | null;
12598
10912
  }[];
12599
10913
  linkedAccounts: {
10914
+ id: string;
12600
10915
  name: string;
12601
- /** @enum {string|null} */
12602
- status?: "active" | "inactive" | null;
10916
+ uniqueRef?: string | null;
12603
10917
  /** @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;
10918
+ status: "active" | "inactive";
12660
10919
  }[];
12661
10920
  createdAt: string;
12662
10921
  systemSections: {
@@ -12882,6 +11141,9 @@ export interface operations {
12882
11141
  account?: {
12883
11142
  id: string;
12884
11143
  name: string;
11144
+ uniqueRef?: string | null;
11145
+ /** @enum {string} */
11146
+ status: "active" | "inactive";
12885
11147
  } | null;
12886
11148
  /** @enum {string} */
12887
11149
  party: "owners" | "manager";
@@ -12932,11 +11194,9 @@ export interface operations {
12932
11194
  account?: {
12933
11195
  id: string;
12934
11196
  name: string;
12935
- bankAccount?: {
12936
- /** Format: uuid */
12937
- id?: string | null;
12938
- name: string;
12939
- } | null;
11197
+ uniqueRef?: string | null;
11198
+ /** @enum {string} */
11199
+ status: "active" | "inactive";
12940
11200
  } | null;
12941
11201
  payment: {
12942
11202
  bankRecordIds: string[];
@@ -13379,66 +11639,11 @@ export interface operations {
13379
11639
  name?: string | null;
13380
11640
  }[];
13381
11641
  linkedAccounts: {
11642
+ id: string;
13382
11643
  name: string;
13383
- /** @enum {string|null} */
13384
- status?: "active" | "inactive" | null;
11644
+ uniqueRef?: string | null;
13385
11645
  /** @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;
11646
+ status: "active" | "inactive";
13442
11647
  }[];
13443
11648
  createdAt: string;
13444
11649
  systemSections: {
@@ -13887,66 +12092,11 @@ export interface operations {
13887
12092
  name?: string | null;
13888
12093
  }[];
13889
12094
  linkedAccounts: {
12095
+ id: string;
13890
12096
  name: string;
13891
- /** @enum {string|null} */
13892
- status?: "active" | "inactive" | null;
12097
+ uniqueRef?: string | null;
13893
12098
  /** @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;
12099
+ status: "active" | "inactive";
13950
12100
  }[];
13951
12101
  createdAt: string;
13952
12102
  systemSections: {
@@ -14404,66 +12554,11 @@ export interface operations {
14404
12554
  name?: string | null;
14405
12555
  }[];
14406
12556
  linkedAccounts: {
12557
+ id: string;
14407
12558
  name: string;
14408
- /** @enum {string|null} */
14409
- status?: "active" | "inactive" | null;
12559
+ uniqueRef?: string | null;
14410
12560
  /** @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;
12561
+ status: "active" | "inactive";
14467
12562
  }[];
14468
12563
  createdAt: string;
14469
12564
  systemSections: {
@@ -15250,66 +13345,11 @@ export interface operations {
15250
13345
  name?: string | null;
15251
13346
  }[];
15252
13347
  linkedAccounts: {
13348
+ id: string;
15253
13349
  name: string;
15254
- /** @enum {string|null} */
15255
- status?: "active" | "inactive" | null;
13350
+ uniqueRef?: string | null;
15256
13351
  /** @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;
13352
+ status: "active" | "inactive";
15313
13353
  }[];
15314
13354
  createdAt: string;
15315
13355
  systemSections: {
@@ -15622,6 +13662,9 @@ export interface operations {
15622
13662
  account?: {
15623
13663
  id: string;
15624
13664
  name: string;
13665
+ uniqueRef?: string | null;
13666
+ /** @enum {string} */
13667
+ status: "active" | "inactive";
15625
13668
  } | null;
15626
13669
  /** @enum {string} */
15627
13670
  party: "owners" | "manager";
@@ -15672,11 +13715,9 @@ export interface operations {
15672
13715
  account?: {
15673
13716
  id: string;
15674
13717
  name: string;
15675
- bankAccount?: {
15676
- /** Format: uuid */
15677
- id?: string | null;
15678
- name: string;
15679
- } | null;
13718
+ uniqueRef?: string | null;
13719
+ /** @enum {string} */
13720
+ status: "active" | "inactive";
15680
13721
  } | null;
15681
13722
  payment: {
15682
13723
  bankRecordIds: string[];
@@ -16074,6 +14115,9 @@ export interface operations {
16074
14115
  account?: {
16075
14116
  id: string;
16076
14117
  name: string;
14118
+ uniqueRef?: string | null;
14119
+ /** @enum {string} */
14120
+ status: "active" | "inactive";
16077
14121
  } | null;
16078
14122
  /** @enum {string} */
16079
14123
  party: "owners" | "manager";
@@ -16124,11 +14168,9 @@ export interface operations {
16124
14168
  account?: {
16125
14169
  id: string;
16126
14170
  name: string;
16127
- bankAccount?: {
16128
- /** Format: uuid */
16129
- id?: string | null;
16130
- name: string;
16131
- } | null;
14171
+ uniqueRef?: string | null;
14172
+ /** @enum {string} */
14173
+ status: "active" | "inactive";
16132
14174
  } | null;
16133
14175
  payment: {
16134
14176
  bankRecordIds: string[];
@@ -16253,11 +14295,9 @@ export interface operations {
16253
14295
  account?: {
16254
14296
  id: string;
16255
14297
  name: string;
16256
- bankAccount?: {
16257
- /** Format: uuid */
16258
- id?: string | null;
16259
- name: string;
16260
- } | null;
14298
+ uniqueRef?: string | null;
14299
+ /** @enum {string} */
14300
+ status: "active" | "inactive";
16261
14301
  } | null;
16262
14302
  contact?: {
16263
14303
  /** Format: uuid */
@@ -16309,6 +14349,9 @@ export interface operations {
16309
14349
  account?: {
16310
14350
  id: string;
16311
14351
  name: string;
14352
+ uniqueRef?: string | null;
14353
+ /** @enum {string} */
14354
+ status: "active" | "inactive";
16312
14355
  } | null;
16313
14356
  /** @enum {string} */
16314
14357
  party: "owners" | "manager";
@@ -16482,11 +14525,9 @@ export interface operations {
16482
14525
  account?: {
16483
14526
  id: string;
16484
14527
  name: string;
16485
- bankAccount?: {
16486
- /** Format: uuid */
16487
- id?: string | null;
16488
- name: string;
16489
- } | null;
14528
+ uniqueRef?: string | null;
14529
+ /** @enum {string} */
14530
+ status: "active" | "inactive";
16490
14531
  } | null;
16491
14532
  contact?: {
16492
14533
  /** Format: uuid */
@@ -16538,6 +14579,9 @@ export interface operations {
16538
14579
  account?: {
16539
14580
  id: string;
16540
14581
  name: string;
14582
+ uniqueRef?: string | null;
14583
+ /** @enum {string} */
14584
+ status: "active" | "inactive";
16541
14585
  } | null;
16542
14586
  /** @enum {string} */
16543
14587
  party: "owners" | "manager";
@@ -16755,11 +14799,9 @@ export interface operations {
16755
14799
  account?: {
16756
14800
  id: string;
16757
14801
  name: string;
16758
- bankAccount?: {
16759
- /** Format: uuid */
16760
- id?: string | null;
16761
- name: string;
16762
- } | null;
14802
+ uniqueRef?: string | null;
14803
+ /** @enum {string} */
14804
+ status: "active" | "inactive";
16763
14805
  } | null;
16764
14806
  contact?: {
16765
14807
  /** Format: uuid */
@@ -16811,6 +14853,9 @@ export interface operations {
16811
14853
  account?: {
16812
14854
  id: string;
16813
14855
  name: string;
14856
+ uniqueRef?: string | null;
14857
+ /** @enum {string} */
14858
+ status: "active" | "inactive";
16814
14859
  } | null;
16815
14860
  /** @enum {string} */
16816
14861
  party: "owners" | "manager";
@@ -16990,11 +15035,9 @@ export interface operations {
16990
15035
  account?: {
16991
15036
  id: string;
16992
15037
  name: string;
16993
- bankAccount?: {
16994
- /** Format: uuid */
16995
- id?: string | null;
16996
- name: string;
16997
- } | null;
15038
+ uniqueRef?: string | null;
15039
+ /** @enum {string} */
15040
+ status: "active" | "inactive";
16998
15041
  } | null;
16999
15042
  contact?: {
17000
15043
  /** Format: uuid */
@@ -17046,6 +15089,9 @@ export interface operations {
17046
15089
  account?: {
17047
15090
  id: string;
17048
15091
  name: string;
15092
+ uniqueRef?: string | null;
15093
+ /** @enum {string} */
15094
+ status: "active" | "inactive";
17049
15095
  } | null;
17050
15096
  /** @enum {string} */
17051
15097
  party: "owners" | "manager";
@@ -17236,6 +15282,9 @@ export interface operations {
17236
15282
  account?: {
17237
15283
  id: string;
17238
15284
  name: string;
15285
+ uniqueRef?: string | null;
15286
+ /** @enum {string} */
15287
+ status: "active" | "inactive";
17239
15288
  } | null;
17240
15289
  /** @enum {string} */
17241
15290
  party: "owners" | "manager";
@@ -17286,11 +15335,9 @@ export interface operations {
17286
15335
  account?: {
17287
15336
  id: string;
17288
15337
  name: string;
17289
- bankAccount?: {
17290
- /** Format: uuid */
17291
- id?: string | null;
17292
- name: string;
17293
- } | null;
15338
+ uniqueRef?: string | null;
15339
+ /** @enum {string} */
15340
+ status: "active" | "inactive";
17294
15341
  } | null;
17295
15342
  payment: {
17296
15343
  bankRecordIds: string[];
@@ -17511,6 +15558,9 @@ export interface operations {
17511
15558
  account?: {
17512
15559
  id: string;
17513
15560
  name: string;
15561
+ uniqueRef?: string | null;
15562
+ /** @enum {string} */
15563
+ status: "active" | "inactive";
17514
15564
  } | null;
17515
15565
  /** @enum {string} */
17516
15566
  party: "owners" | "manager";
@@ -17561,11 +15611,9 @@ export interface operations {
17561
15611
  account?: {
17562
15612
  id: string;
17563
15613
  name: string;
17564
- bankAccount?: {
17565
- /** Format: uuid */
17566
- id?: string | null;
17567
- name: string;
17568
- } | null;
15614
+ uniqueRef?: string | null;
15615
+ /** @enum {string} */
15616
+ status: "active" | "inactive";
17569
15617
  } | null;
17570
15618
  payment: {
17571
15619
  bankRecordIds: string[];
@@ -17795,6 +15843,9 @@ export interface operations {
17795
15843
  account?: {
17796
15844
  id: string;
17797
15845
  name: string;
15846
+ uniqueRef?: string | null;
15847
+ /** @enum {string} */
15848
+ status: "active" | "inactive";
17798
15849
  } | null;
17799
15850
  /** @enum {string} */
17800
15851
  party: "owners" | "manager";
@@ -17845,11 +15896,9 @@ export interface operations {
17845
15896
  account?: {
17846
15897
  id: string;
17847
15898
  name: string;
17848
- bankAccount?: {
17849
- /** Format: uuid */
17850
- id?: string | null;
17851
- name: string;
17852
- } | null;
15899
+ uniqueRef?: string | null;
15900
+ /** @enum {string} */
15901
+ status: "active" | "inactive";
17853
15902
  } | null;
17854
15903
  payment: {
17855
15904
  bankRecordIds: string[];
@@ -18076,6 +16125,9 @@ export interface operations {
18076
16125
  account?: {
18077
16126
  id: string;
18078
16127
  name: string;
16128
+ uniqueRef?: string | null;
16129
+ /** @enum {string} */
16130
+ status: "active" | "inactive";
18079
16131
  } | null;
18080
16132
  /** @enum {string} */
18081
16133
  party: "owners" | "manager";
@@ -18126,11 +16178,9 @@ export interface operations {
18126
16178
  account?: {
18127
16179
  id: string;
18128
16180
  name: string;
18129
- bankAccount?: {
18130
- /** Format: uuid */
18131
- id?: string | null;
18132
- name: string;
18133
- } | null;
16181
+ uniqueRef?: string | null;
16182
+ /** @enum {string} */
16183
+ status: "active" | "inactive";
18134
16184
  } | null;
18135
16185
  payment: {
18136
16186
  bankRecordIds: string[];
@@ -18277,6 +16327,9 @@ export interface operations {
18277
16327
  account?: {
18278
16328
  id: string;
18279
16329
  name: string;
16330
+ uniqueRef?: string | null;
16331
+ /** @enum {string} */
16332
+ status: "active" | "inactive";
18280
16333
  } | null;
18281
16334
  /** @enum {string} */
18282
16335
  party: "owners" | "manager";
@@ -18327,11 +16380,9 @@ export interface operations {
18327
16380
  account?: {
18328
16381
  id: string;
18329
16382
  name: string;
18330
- bankAccount?: {
18331
- /** Format: uuid */
18332
- id?: string | null;
18333
- name: string;
18334
- } | null;
16383
+ uniqueRef?: string | null;
16384
+ /** @enum {string} */
16385
+ status: "active" | "inactive";
18335
16386
  } | null;
18336
16387
  payment: {
18337
16388
  bankRecordIds: string[];
@@ -18550,6 +16601,9 @@ export interface operations {
18550
16601
  account?: {
18551
16602
  id: string;
18552
16603
  name: string;
16604
+ uniqueRef?: string | null;
16605
+ /** @enum {string} */
16606
+ status: "active" | "inactive";
18553
16607
  } | null;
18554
16608
  /** @enum {string} */
18555
16609
  party: "owners" | "manager";
@@ -18600,11 +16654,9 @@ export interface operations {
18600
16654
  account?: {
18601
16655
  id: string;
18602
16656
  name: string;
18603
- bankAccount?: {
18604
- /** Format: uuid */
18605
- id?: string | null;
18606
- name: string;
18607
- } | null;
16657
+ uniqueRef?: string | null;
16658
+ /** @enum {string} */
16659
+ status: "active" | "inactive";
18608
16660
  } | null;
18609
16661
  payment: {
18610
16662
  bankRecordIds: string[];
@@ -19374,6 +17426,9 @@ export interface operations {
19374
17426
  account?: {
19375
17427
  id: string;
19376
17428
  name: string;
17429
+ uniqueRef?: string | null;
17430
+ /** @enum {string} */
17431
+ status: "active" | "inactive";
19377
17432
  } | null;
19378
17433
  /** @enum {string} */
19379
17434
  party: "owners" | "manager";
@@ -19424,11 +17479,9 @@ export interface operations {
19424
17479
  account?: {
19425
17480
  id: string;
19426
17481
  name: string;
19427
- bankAccount?: {
19428
- /** Format: uuid */
19429
- id?: string | null;
19430
- name: string;
19431
- } | null;
17482
+ uniqueRef?: string | null;
17483
+ /** @enum {string} */
17484
+ status: "active" | "inactive";
19432
17485
  } | null;
19433
17486
  payment: {
19434
17487
  bankRecordIds: string[];
@@ -19574,6 +17627,9 @@ export interface operations {
19574
17627
  offsetAccount?: {
19575
17628
  id: string;
19576
17629
  name: string;
17630
+ uniqueRef?: string | null;
17631
+ /** @enum {string} */
17632
+ status: "active" | "inactive";
19577
17633
  } | null;
19578
17634
  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
17635
  category?: {
@@ -19725,6 +17781,9 @@ export interface operations {
19725
17781
  offsetAccount?: {
19726
17782
  id: string;
19727
17783
  name: string;
17784
+ uniqueRef?: string | null;
17785
+ /** @enum {string} */
17786
+ status: "active" | "inactive";
19728
17787
  } | null;
19729
17788
  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
17789
  category?: {
@@ -19937,6 +17996,9 @@ export interface operations {
19937
17996
  offsetAccount?: {
19938
17997
  id: string;
19939
17998
  name: string;
17999
+ uniqueRef?: string | null;
18000
+ /** @enum {string} */
18001
+ status: "active" | "inactive";
19940
18002
  } | null;
19941
18003
  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
18004
  category?: {
@@ -20096,6 +18158,9 @@ export interface operations {
20096
18158
  offsetAccount?: {
20097
18159
  id: string;
20098
18160
  name: string;
18161
+ uniqueRef?: string | null;
18162
+ /** @enum {string} */
18163
+ status: "active" | "inactive";
20099
18164
  } | null;
20100
18165
  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
18166
  category?: {
@@ -20762,11 +18827,9 @@ export interface operations {
20762
18827
  account?: {
20763
18828
  id: string;
20764
18829
  name: string;
20765
- bankAccount?: {
20766
- /** Format: uuid */
20767
- id?: string | null;
20768
- name: string;
20769
- } | null;
18830
+ uniqueRef?: string | null;
18831
+ /** @enum {string} */
18832
+ status: "active" | "inactive";
20770
18833
  } | null;
20771
18834
  date: string;
20772
18835
  description: string;
@@ -21009,11 +19072,9 @@ export interface operations {
21009
19072
  account?: {
21010
19073
  id: string;
21011
19074
  name: string;
21012
- bankAccount?: {
21013
- /** Format: uuid */
21014
- id?: string | null;
21015
- name: string;
21016
- } | null;
19075
+ uniqueRef?: string | null;
19076
+ /** @enum {string} */
19077
+ status: "active" | "inactive";
21017
19078
  } | null;
21018
19079
  date: string;
21019
19080
  description: string;
@@ -22207,6 +20268,97 @@ export interface operations {
22207
20268
  };
22208
20269
  };
22209
20270
  };
20271
+ extract: {
20272
+ parameters: {
20273
+ query?: never;
20274
+ header?: {
20275
+ "X-Team-Id"?: string;
20276
+ };
20277
+ path?: never;
20278
+ cookie?: never;
20279
+ };
20280
+ requestBody: {
20281
+ content: {
20282
+ "application/json": {
20283
+ isInitial?: boolean;
20284
+ connections: {
20285
+ /** Format: uuid */
20286
+ connectionId: string;
20287
+ params?: unknown;
20288
+ type?: string;
20289
+ range?: {
20290
+ start?: string;
20291
+ end?: string;
20292
+ };
20293
+ forceUpdate?: boolean;
20294
+ }[];
20295
+ };
20296
+ };
20297
+ };
20298
+ responses: {
20299
+ /** @description Successful response */
20300
+ 200: {
20301
+ headers: {
20302
+ [name: string]: unknown;
20303
+ };
20304
+ content: {
20305
+ "application/json": {
20306
+ data: {
20307
+ /** Format: uuid */
20308
+ runId: string;
20309
+ /** Format: uuid */
20310
+ workflowId: string;
20311
+ /** Format: uuid */
20312
+ taskId: string;
20313
+ /** Format: uuid */
20314
+ syncId: string;
20315
+ data?: unknown;
20316
+ error?: {
20317
+ message: string;
20318
+ error?: string;
20319
+ };
20320
+ }[];
20321
+ };
20322
+ };
20323
+ };
20324
+ /** @description Invalid input data */
20325
+ 400: {
20326
+ headers: {
20327
+ [name: string]: unknown;
20328
+ };
20329
+ content: {
20330
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
20331
+ };
20332
+ };
20333
+ /** @description Authorization not provided */
20334
+ 401: {
20335
+ headers: {
20336
+ [name: string]: unknown;
20337
+ };
20338
+ content: {
20339
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
20340
+ };
20341
+ };
20342
+ /** @description Insufficient access */
20343
+ 403: {
20344
+ headers: {
20345
+ [name: string]: unknown;
20346
+ };
20347
+ content: {
20348
+ "application/json": components["schemas"]["error.FORBIDDEN"];
20349
+ };
20350
+ };
20351
+ /** @description Internal server error */
20352
+ 500: {
20353
+ headers: {
20354
+ [name: string]: unknown;
20355
+ };
20356
+ content: {
20357
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
20358
+ };
20359
+ };
20360
+ };
20361
+ };
22210
20362
  getSync: {
22211
20363
  parameters: {
22212
20364
  query?: never;
@@ -23344,66 +21496,11 @@ export interface operations {
23344
21496
  [key: string]: unknown;
23345
21497
  } | null;
23346
21498
  account?: {
21499
+ id: string;
23347
21500
  name: string;
23348
- /** @enum {string|null} */
23349
- status?: "active" | "inactive" | null;
21501
+ uniqueRef?: string | null;
23350
21502
  /** @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;
21503
+ status: "active" | "inactive";
23407
21504
  } | null;
23408
21505
  isExcluded?: boolean | null;
23409
21506
  }[];
@@ -23421,66 +21518,11 @@ export interface operations {
23421
21518
  /** @enum {string|null} */
23422
21519
  party?: "owners" | "manager" | null;
23423
21520
  account?: {
21521
+ id: string;
23424
21522
  name: string;
23425
- /** @enum {string|null} */
23426
- status?: "active" | "inactive" | null;
21523
+ uniqueRef?: string | null;
23427
21524
  /** @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;
21525
+ status: "active" | "inactive";
23484
21526
  } | null;
23485
21527
  recurringFee?: {
23486
21528
  id: string;