@vrplatform/api 1.2.33-rel.878 → 1.2.33-rel.896

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;
@@ -1904,34 +1921,35 @@ export interface paths {
1904
1921
  patch?: never;
1905
1922
  trace?: never;
1906
1923
  };
1907
- "/flows/{id}/{connectionId}/mappings": {
1924
+ "/flows/{id}/{connectionId}/mappings/{mappingKey}": {
1908
1925
  parameters: {
1909
1926
  query?: never;
1910
1927
  header?: never;
1911
1928
  path?: never;
1912
1929
  cookie?: never;
1913
1930
  };
1914
- /** @description List flow mappings for a connection */
1915
- get: operations["getFlowMappings"];
1931
+ /** @description List flow mapping entry for a specific key */
1932
+ get: operations["getFlowMapping"];
1916
1933
  put?: never;
1917
- post?: never;
1934
+ /** @description Create, update or delete a flow mapping entry */
1935
+ post: operations["setFlowMapping"];
1918
1936
  delete?: never;
1919
1937
  options?: never;
1920
1938
  head?: never;
1921
1939
  patch?: never;
1922
1940
  trace?: never;
1923
1941
  };
1924
- "/flows/{id}/{connectionId}/mappings/{mappingKey}": {
1942
+ "/flows/{id}/{connectionId}/mappings": {
1925
1943
  parameters: {
1926
1944
  query?: never;
1927
1945
  header?: never;
1928
1946
  path?: never;
1929
1947
  cookie?: never;
1930
1948
  };
1931
- get?: never;
1949
+ /** @description List flow mappings for a connection */
1950
+ get: operations["getFlowMappings"];
1932
1951
  put?: never;
1933
- /** @description Create, update or delete a flow mapping entry */
1934
- post: operations["setFlowMapping"];
1952
+ post?: never;
1935
1953
  delete?: never;
1936
1954
  options?: never;
1937
1955
  head?: never;
@@ -2262,6 +2280,88 @@ export interface components {
2262
2280
  total: number;
2263
2281
  values: components["schemas"]["ProfitAndLossValueCell"][];
2264
2282
  };
2283
+ /** @description Collection of settings returned by GET routes with normalized { id, name, type } value payloads. */
2284
+ FlowSettingItemsGet: components["schemas"]["FlowSettingItemGet"][];
2285
+ /** @description Setting representation returned from GET routes with normalized { id, name, type } value payload. */
2286
+ FlowSettingItemGet: {
2287
+ /** Format: uuid */
2288
+ id: string;
2289
+ /** Format: uuid */
2290
+ flowId: string;
2291
+ /** Format: uuid */
2292
+ connectionId: string;
2293
+ settingKey: string;
2294
+ title: string | null;
2295
+ description: string | null;
2296
+ /**
2297
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2298
+ * @enum {string|null}
2299
+ */
2300
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2301
+ filter: string | null;
2302
+ value: components["schemas"]["FlowMappingResolvedEntityValue"];
2303
+ };
2304
+ /** @description Resolved mapping entity summary ({ id, name, type }) returned by endpoints. */
2305
+ FlowMappingResolvedEntityValue: {
2306
+ id: string;
2307
+ name: string;
2308
+ /**
2309
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2310
+ * @enum {string}
2311
+ */
2312
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2313
+ };
2314
+ /** @description Collection of settings after mutation with normalized { id, name, type } value payloads. */
2315
+ FlowSettingItemsPost: components["schemas"]["FlowSettingItemPost"][];
2316
+ /** @description Setting representation returned from mutation routes with normalized { id, name, type } value payload. */
2317
+ FlowSettingItemPost: {
2318
+ /** Format: uuid */
2319
+ id: string;
2320
+ /** Format: uuid */
2321
+ flowId: string;
2322
+ /** Format: uuid */
2323
+ connectionId: string;
2324
+ settingKey: string;
2325
+ title: string | null;
2326
+ description: string | null;
2327
+ /**
2328
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2329
+ * @enum {string|null}
2330
+ */
2331
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2332
+ filter: string | null;
2333
+ value: components["schemas"]["FlowMappingResolvedEntityValue"];
2334
+ };
2335
+ /** @description Mapping entry returned from GET routes with normalized { id, name, type } value payload. */
2336
+ FlowMappingItemGet: {
2337
+ /** Format: uuid */
2338
+ id: string;
2339
+ /** Format: uuid */
2340
+ flowId: string;
2341
+ /** Format: uuid */
2342
+ connectionId: string;
2343
+ mappingKey: string;
2344
+ /** Format: uuid */
2345
+ sourceId: string;
2346
+ title: string | null;
2347
+ description: string | null;
2348
+ value: components["schemas"]["FlowMappingResolvedEntityValue"];
2349
+ };
2350
+ /** @description Mapping entry returned from mutation routes with resolved entity payload. */
2351
+ FlowMappingItemPost: {
2352
+ /** Format: uuid */
2353
+ id: string;
2354
+ /** Format: uuid */
2355
+ flowId: string;
2356
+ /** Format: uuid */
2357
+ connectionId: string;
2358
+ mappingKey: string;
2359
+ /** Format: uuid */
2360
+ sourceId: string;
2361
+ title: string | null;
2362
+ description: string | null;
2363
+ value: components["schemas"]["FlowMappingResolvedEntityValue"];
2364
+ };
2265
2365
  };
2266
2366
  responses: never;
2267
2367
  parameters: never;
@@ -2326,66 +2426,11 @@ export interface operations {
2326
2426
  /** @enum {string|null} */
2327
2427
  status: "active" | "inactive" | null;
2328
2428
  account?: {
2429
+ id: string;
2329
2430
  name: string;
2330
- /** @enum {string|null} */
2331
- status?: "active" | "inactive" | null;
2431
+ uniqueRef?: string | null;
2332
2432
  /** @enum {string} */
2333
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
2334
- id: string;
2335
- offsetAccount?: {
2336
- id: string;
2337
- name: string;
2338
- } | null;
2339
- 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")[];
2340
- category?: {
2341
- id: string;
2342
- name: string;
2343
- /** @enum {string|null} */
2344
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
2345
- } | null;
2346
- banking?: {
2347
- /** @enum {string|null} */
2348
- category?: "trust" | "operating" | "external" | null;
2349
- /** @enum {string|null} */
2350
- type?: "deposit" | "creditCard" | null;
2351
- last4?: string | null;
2352
- currency?: string | null;
2353
- connections: {
2354
- id: string;
2355
- name: string;
2356
- connection?: {
2357
- id: string;
2358
- icon?: string | null;
2359
- } | null;
2360
- /** @enum {string|null} */
2361
- status?: "active" | "inactive" | null;
2362
- currentSync?: {
2363
- /** @enum {string} */
2364
- status: "queued" | "started" | "completed" | "failed" | "canceled";
2365
- createdAt: string;
2366
- updatedAt: string;
2367
- message?: string | null;
2368
- } | null;
2369
- source?: {
2370
- /** Format: uuid */
2371
- id: string;
2372
- type: string;
2373
- /** @enum {string|null} */
2374
- status?: "active" | "inactive" | null;
2375
- } | null;
2376
- }[];
2377
- bankRecords: {
2378
- reconciled: number;
2379
- unreconciled: number;
2380
- total: number;
2381
- latestCreatedAt?: string | null;
2382
- };
2383
- balance?: {
2384
- openingDate?: string | null;
2385
- opening: number;
2386
- ending: number;
2387
- } | null;
2388
- } | null;
2433
+ status: "active" | "inactive";
2389
2434
  } | null;
2390
2435
  source?: {
2391
2436
  /** Format: uuid */
@@ -2491,66 +2536,11 @@ export interface operations {
2491
2536
  /** @enum {string|null} */
2492
2537
  status: "active" | "inactive" | null;
2493
2538
  account?: {
2539
+ id: string;
2494
2540
  name: string;
2495
- /** @enum {string|null} */
2496
- status?: "active" | "inactive" | null;
2541
+ uniqueRef?: string | null;
2497
2542
  /** @enum {string} */
2498
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
2499
- id: string;
2500
- offsetAccount?: {
2501
- id: string;
2502
- name: string;
2503
- } | null;
2504
- 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")[];
2505
- category?: {
2506
- id: string;
2507
- name: string;
2508
- /** @enum {string|null} */
2509
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
2510
- } | null;
2511
- banking?: {
2512
- /** @enum {string|null} */
2513
- category?: "trust" | "operating" | "external" | null;
2514
- /** @enum {string|null} */
2515
- type?: "deposit" | "creditCard" | null;
2516
- last4?: string | null;
2517
- currency?: string | null;
2518
- connections: {
2519
- id: string;
2520
- name: string;
2521
- connection?: {
2522
- id: string;
2523
- icon?: string | null;
2524
- } | null;
2525
- /** @enum {string|null} */
2526
- status?: "active" | "inactive" | null;
2527
- currentSync?: {
2528
- /** @enum {string} */
2529
- status: "queued" | "started" | "completed" | "failed" | "canceled";
2530
- createdAt: string;
2531
- updatedAt: string;
2532
- message?: string | null;
2533
- } | null;
2534
- source?: {
2535
- /** Format: uuid */
2536
- id: string;
2537
- type: string;
2538
- /** @enum {string|null} */
2539
- status?: "active" | "inactive" | null;
2540
- } | null;
2541
- }[];
2542
- bankRecords: {
2543
- reconciled: number;
2544
- unreconciled: number;
2545
- total: number;
2546
- latestCreatedAt?: string | null;
2547
- };
2548
- balance?: {
2549
- openingDate?: string | null;
2550
- opening: number;
2551
- ending: number;
2552
- } | null;
2553
- } | null;
2543
+ status: "active" | "inactive";
2554
2544
  } | null;
2555
2545
  source?: {
2556
2546
  /** Format: uuid */
@@ -2936,66 +2926,11 @@ export interface operations {
2936
2926
  [key: string]: unknown;
2937
2927
  } | null;
2938
2928
  account?: {
2929
+ id: string;
2939
2930
  name: string;
2940
- /** @enum {string|null} */
2941
- status?: "active" | "inactive" | null;
2931
+ uniqueRef?: string | null;
2942
2932
  /** @enum {string} */
2943
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
2944
- id: string;
2945
- offsetAccount?: {
2946
- id: string;
2947
- name: string;
2948
- } | null;
2949
- 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")[];
2950
- category?: {
2951
- id: string;
2952
- name: string;
2953
- /** @enum {string|null} */
2954
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
2955
- } | null;
2956
- banking?: {
2957
- /** @enum {string|null} */
2958
- category?: "trust" | "operating" | "external" | null;
2959
- /** @enum {string|null} */
2960
- type?: "deposit" | "creditCard" | null;
2961
- last4?: string | null;
2962
- currency?: string | null;
2963
- connections: {
2964
- id: string;
2965
- name: string;
2966
- connection?: {
2967
- id: string;
2968
- icon?: string | null;
2969
- } | null;
2970
- /** @enum {string|null} */
2971
- status?: "active" | "inactive" | null;
2972
- currentSync?: {
2973
- /** @enum {string} */
2974
- status: "queued" | "started" | "completed" | "failed" | "canceled";
2975
- createdAt: string;
2976
- updatedAt: string;
2977
- message?: string | null;
2978
- } | null;
2979
- source?: {
2980
- /** Format: uuid */
2981
- id: string;
2982
- type: string;
2983
- /** @enum {string|null} */
2984
- status?: "active" | "inactive" | null;
2985
- } | null;
2986
- }[];
2987
- bankRecords: {
2988
- reconciled: number;
2989
- unreconciled: number;
2990
- total: number;
2991
- latestCreatedAt?: string | null;
2992
- };
2993
- balance?: {
2994
- openingDate?: string | null;
2995
- opening: number;
2996
- ending: number;
2997
- } | null;
2998
- } | null;
2933
+ status: "active" | "inactive";
2999
2934
  } | null;
3000
2935
  isExcluded?: boolean | null;
3001
2936
  }[];
@@ -3104,66 +3039,11 @@ export interface operations {
3104
3039
  [key: string]: unknown;
3105
3040
  } | null;
3106
3041
  account?: {
3042
+ id: string;
3107
3043
  name: string;
3108
- /** @enum {string|null} */
3109
- status?: "active" | "inactive" | null;
3044
+ uniqueRef?: string | null;
3110
3045
  /** @enum {string} */
3111
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
3112
- id: string;
3113
- offsetAccount?: {
3114
- id: string;
3115
- name: string;
3116
- } | null;
3117
- 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")[];
3118
- category?: {
3119
- id: string;
3120
- name: string;
3121
- /** @enum {string|null} */
3122
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
3123
- } | null;
3124
- banking?: {
3125
- /** @enum {string|null} */
3126
- category?: "trust" | "operating" | "external" | null;
3127
- /** @enum {string|null} */
3128
- type?: "deposit" | "creditCard" | null;
3129
- last4?: string | null;
3130
- currency?: string | null;
3131
- connections: {
3132
- id: string;
3133
- name: string;
3134
- connection?: {
3135
- id: string;
3136
- icon?: string | null;
3137
- } | null;
3138
- /** @enum {string|null} */
3139
- status?: "active" | "inactive" | null;
3140
- currentSync?: {
3141
- /** @enum {string} */
3142
- status: "queued" | "started" | "completed" | "failed" | "canceled";
3143
- createdAt: string;
3144
- updatedAt: string;
3145
- message?: string | null;
3146
- } | null;
3147
- source?: {
3148
- /** Format: uuid */
3149
- id: string;
3150
- type: string;
3151
- /** @enum {string|null} */
3152
- status?: "active" | "inactive" | null;
3153
- } | null;
3154
- }[];
3155
- bankRecords: {
3156
- reconciled: number;
3157
- unreconciled: number;
3158
- total: number;
3159
- latestCreatedAt?: string | null;
3160
- };
3161
- balance?: {
3162
- openingDate?: string | null;
3163
- opening: number;
3164
- ending: number;
3165
- } | null;
3166
- } | null;
3046
+ status: "active" | "inactive";
3167
3047
  } | null;
3168
3048
  isExcluded?: boolean | null;
3169
3049
  }[];
@@ -3312,66 +3192,11 @@ export interface operations {
3312
3192
  [key: string]: unknown;
3313
3193
  } | null;
3314
3194
  account?: {
3195
+ id: string;
3315
3196
  name: string;
3316
- /** @enum {string|null} */
3317
- status?: "active" | "inactive" | null;
3197
+ uniqueRef?: string | null;
3318
3198
  /** @enum {string} */
3319
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
3320
- id: string;
3321
- offsetAccount?: {
3322
- id: string;
3323
- name: string;
3324
- } | null;
3325
- 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")[];
3326
- category?: {
3327
- id: string;
3328
- name: string;
3329
- /** @enum {string|null} */
3330
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
3331
- } | null;
3332
- banking?: {
3333
- /** @enum {string|null} */
3334
- category?: "trust" | "operating" | "external" | null;
3335
- /** @enum {string|null} */
3336
- type?: "deposit" | "creditCard" | null;
3337
- last4?: string | null;
3338
- currency?: string | null;
3339
- connections: {
3340
- id: string;
3341
- name: string;
3342
- connection?: {
3343
- id: string;
3344
- icon?: string | null;
3345
- } | null;
3346
- /** @enum {string|null} */
3347
- status?: "active" | "inactive" | null;
3348
- currentSync?: {
3349
- /** @enum {string} */
3350
- status: "queued" | "started" | "completed" | "failed" | "canceled";
3351
- createdAt: string;
3352
- updatedAt: string;
3353
- message?: string | null;
3354
- } | null;
3355
- source?: {
3356
- /** Format: uuid */
3357
- id: string;
3358
- type: string;
3359
- /** @enum {string|null} */
3360
- status?: "active" | "inactive" | null;
3361
- } | null;
3362
- }[];
3363
- bankRecords: {
3364
- reconciled: number;
3365
- unreconciled: number;
3366
- total: number;
3367
- latestCreatedAt?: string | null;
3368
- };
3369
- balance?: {
3370
- openingDate?: string | null;
3371
- opening: number;
3372
- ending: number;
3373
- } | null;
3374
- } | null;
3199
+ status: "active" | "inactive";
3375
3200
  } | null;
3376
3201
  isExcluded?: boolean | null;
3377
3202
  }[];
@@ -3559,66 +3384,11 @@ export interface operations {
3559
3384
  [key: string]: unknown;
3560
3385
  } | null;
3561
3386
  account?: {
3387
+ id: string;
3562
3388
  name: string;
3563
- /** @enum {string|null} */
3564
- status?: "active" | "inactive" | null;
3389
+ uniqueRef?: string | null;
3565
3390
  /** @enum {string} */
3566
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
3567
- id: string;
3568
- offsetAccount?: {
3569
- id: string;
3570
- name: string;
3571
- } | null;
3572
- 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")[];
3573
- category?: {
3574
- id: string;
3575
- name: string;
3576
- /** @enum {string|null} */
3577
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
3578
- } | null;
3579
- banking?: {
3580
- /** @enum {string|null} */
3581
- category?: "trust" | "operating" | "external" | null;
3582
- /** @enum {string|null} */
3583
- type?: "deposit" | "creditCard" | null;
3584
- last4?: string | null;
3585
- currency?: string | null;
3586
- connections: {
3587
- id: string;
3588
- name: string;
3589
- connection?: {
3590
- id: string;
3591
- icon?: string | null;
3592
- } | null;
3593
- /** @enum {string|null} */
3594
- status?: "active" | "inactive" | null;
3595
- currentSync?: {
3596
- /** @enum {string} */
3597
- status: "queued" | "started" | "completed" | "failed" | "canceled";
3598
- createdAt: string;
3599
- updatedAt: string;
3600
- message?: string | null;
3601
- } | null;
3602
- source?: {
3603
- /** Format: uuid */
3604
- id: string;
3605
- type: string;
3606
- /** @enum {string|null} */
3607
- status?: "active" | "inactive" | null;
3608
- } | null;
3609
- }[];
3610
- bankRecords: {
3611
- reconciled: number;
3612
- unreconciled: number;
3613
- total: number;
3614
- latestCreatedAt?: string | null;
3615
- };
3616
- balance?: {
3617
- openingDate?: string | null;
3618
- opening: number;
3619
- ending: number;
3620
- } | null;
3621
- } | null;
3391
+ status: "active" | "inactive";
3622
3392
  } | null;
3623
3393
  isExcluded?: boolean | null;
3624
3394
  }[];
@@ -3777,66 +3547,11 @@ export interface operations {
3777
3547
  [key: string]: unknown;
3778
3548
  } | null;
3779
3549
  account?: {
3550
+ id: string;
3780
3551
  name: string;
3781
- /** @enum {string|null} */
3782
- status?: "active" | "inactive" | null;
3552
+ uniqueRef?: string | null;
3783
3553
  /** @enum {string} */
3784
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
3785
- id: string;
3786
- offsetAccount?: {
3787
- id: string;
3788
- name: string;
3789
- } | null;
3790
- 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")[];
3791
- category?: {
3792
- id: string;
3793
- name: string;
3794
- /** @enum {string|null} */
3795
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
3796
- } | null;
3797
- banking?: {
3798
- /** @enum {string|null} */
3799
- category?: "trust" | "operating" | "external" | null;
3800
- /** @enum {string|null} */
3801
- type?: "deposit" | "creditCard" | null;
3802
- last4?: string | null;
3803
- currency?: string | null;
3804
- connections: {
3805
- id: string;
3806
- name: string;
3807
- connection?: {
3808
- id: string;
3809
- icon?: string | null;
3810
- } | null;
3811
- /** @enum {string|null} */
3812
- status?: "active" | "inactive" | null;
3813
- currentSync?: {
3814
- /** @enum {string} */
3815
- status: "queued" | "started" | "completed" | "failed" | "canceled";
3816
- createdAt: string;
3817
- updatedAt: string;
3818
- message?: string | null;
3819
- } | null;
3820
- source?: {
3821
- /** Format: uuid */
3822
- id: string;
3823
- type: string;
3824
- /** @enum {string|null} */
3825
- status?: "active" | "inactive" | null;
3826
- } | null;
3827
- }[];
3828
- bankRecords: {
3829
- reconciled: number;
3830
- unreconciled: number;
3831
- total: number;
3832
- latestCreatedAt?: string | null;
3833
- };
3834
- balance?: {
3835
- openingDate?: string | null;
3836
- opening: number;
3837
- ending: number;
3838
- } | null;
3839
- } | null;
3554
+ status: "active" | "inactive";
3840
3555
  } | null;
3841
3556
  isExcluded?: boolean | null;
3842
3557
  }[];
@@ -4388,6 +4103,9 @@ export interface operations {
4388
4103
  account?: {
4389
4104
  id: string;
4390
4105
  name: string;
4106
+ uniqueRef?: string | null;
4107
+ /** @enum {string} */
4108
+ status: "active" | "inactive";
4391
4109
  /** @enum {string} */
4392
4110
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4393
4111
  } | null;
@@ -4407,11 +4125,9 @@ export interface operations {
4407
4125
  account?: {
4408
4126
  id: string;
4409
4127
  name: string;
4410
- bankAccount?: {
4411
- /** Format: uuid */
4412
- id?: string | null;
4413
- name: string;
4414
- } | null;
4128
+ uniqueRef?: string | null;
4129
+ /** @enum {string} */
4130
+ status: "active" | "inactive";
4415
4131
  } | null;
4416
4132
  date: string;
4417
4133
  description: string;
@@ -4499,66 +4215,11 @@ export interface operations {
4499
4215
  [key: string]: unknown;
4500
4216
  } | null;
4501
4217
  account?: {
4218
+ id: string;
4502
4219
  name: string;
4503
- /** @enum {string|null} */
4504
- status?: "active" | "inactive" | null;
4220
+ uniqueRef?: string | null;
4505
4221
  /** @enum {string} */
4506
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4507
- id: string;
4508
- offsetAccount?: {
4509
- id: string;
4510
- name: string;
4511
- } | null;
4512
- 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")[];
4513
- category?: {
4514
- id: string;
4515
- name: string;
4516
- /** @enum {string|null} */
4517
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
4518
- } | null;
4519
- banking?: {
4520
- /** @enum {string|null} */
4521
- category?: "trust" | "operating" | "external" | null;
4522
- /** @enum {string|null} */
4523
- type?: "deposit" | "creditCard" | null;
4524
- last4?: string | null;
4525
- currency?: string | null;
4526
- connections: {
4527
- id: string;
4528
- name: string;
4529
- connection?: {
4530
- id: string;
4531
- icon?: string | null;
4532
- } | null;
4533
- /** @enum {string|null} */
4534
- status?: "active" | "inactive" | null;
4535
- currentSync?: {
4536
- /** @enum {string} */
4537
- status: "queued" | "started" | "completed" | "failed" | "canceled";
4538
- createdAt: string;
4539
- updatedAt: string;
4540
- message?: string | null;
4541
- } | null;
4542
- source?: {
4543
- /** Format: uuid */
4544
- id: string;
4545
- type: string;
4546
- /** @enum {string|null} */
4547
- status?: "active" | "inactive" | null;
4548
- } | null;
4549
- }[];
4550
- bankRecords: {
4551
- reconciled: number;
4552
- unreconciled: number;
4553
- total: number;
4554
- latestCreatedAt?: string | null;
4555
- };
4556
- balance?: {
4557
- openingDate?: string | null;
4558
- opening: number;
4559
- ending: number;
4560
- } | null;
4561
- } | null;
4222
+ status: "active" | "inactive";
4562
4223
  } | null;
4563
4224
  isExcluded?: boolean | null;
4564
4225
  }[];
@@ -4576,66 +4237,11 @@ export interface operations {
4576
4237
  /** @enum {string|null} */
4577
4238
  party?: "owners" | "manager" | null;
4578
4239
  account?: {
4240
+ id: string;
4579
4241
  name: string;
4580
- /** @enum {string|null} */
4581
- status?: "active" | "inactive" | null;
4242
+ uniqueRef?: string | null;
4582
4243
  /** @enum {string} */
4583
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4584
- id: string;
4585
- offsetAccount?: {
4586
- id: string;
4587
- name: string;
4588
- } | null;
4589
- 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")[];
4590
- category?: {
4591
- id: string;
4592
- name: string;
4593
- /** @enum {string|null} */
4594
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
4595
- } | null;
4596
- banking?: {
4597
- /** @enum {string|null} */
4598
- category?: "trust" | "operating" | "external" | null;
4599
- /** @enum {string|null} */
4600
- type?: "deposit" | "creditCard" | null;
4601
- last4?: string | null;
4602
- currency?: string | null;
4603
- connections: {
4604
- id: string;
4605
- name: string;
4606
- connection?: {
4607
- id: string;
4608
- icon?: string | null;
4609
- } | null;
4610
- /** @enum {string|null} */
4611
- status?: "active" | "inactive" | null;
4612
- currentSync?: {
4613
- /** @enum {string} */
4614
- status: "queued" | "started" | "completed" | "failed" | "canceled";
4615
- createdAt: string;
4616
- updatedAt: string;
4617
- message?: string | null;
4618
- } | null;
4619
- source?: {
4620
- /** Format: uuid */
4621
- id: string;
4622
- type: string;
4623
- /** @enum {string|null} */
4624
- status?: "active" | "inactive" | null;
4625
- } | null;
4626
- }[];
4627
- bankRecords: {
4628
- reconciled: number;
4629
- unreconciled: number;
4630
- total: number;
4631
- latestCreatedAt?: string | null;
4632
- };
4633
- balance?: {
4634
- openingDate?: string | null;
4635
- opening: number;
4636
- ending: number;
4637
- } | null;
4638
- } | null;
4244
+ status: "active" | "inactive";
4639
4245
  } | null;
4640
4246
  recurringFee?: {
4641
4247
  id: string;
@@ -4875,6 +4481,9 @@ export interface operations {
4875
4481
  account?: {
4876
4482
  id: string;
4877
4483
  name: string;
4484
+ uniqueRef?: string | null;
4485
+ /** @enum {string} */
4486
+ status: "active" | "inactive";
4878
4487
  /** @enum {string} */
4879
4488
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4880
4489
  } | null;
@@ -4894,11 +4503,9 @@ export interface operations {
4894
4503
  account?: {
4895
4504
  id: string;
4896
4505
  name: string;
4897
- bankAccount?: {
4898
- /** Format: uuid */
4899
- id?: string | null;
4900
- name: string;
4901
- } | null;
4506
+ uniqueRef?: string | null;
4507
+ /** @enum {string} */
4508
+ status: "active" | "inactive";
4902
4509
  } | null;
4903
4510
  date: string;
4904
4511
  description: string;
@@ -4986,66 +4593,11 @@ export interface operations {
4986
4593
  [key: string]: unknown;
4987
4594
  } | null;
4988
4595
  account?: {
4596
+ id: string;
4989
4597
  name: string;
4990
- /** @enum {string|null} */
4991
- status?: "active" | "inactive" | null;
4598
+ uniqueRef?: string | null;
4992
4599
  /** @enum {string} */
4993
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4994
- id: string;
4995
- offsetAccount?: {
4996
- id: string;
4997
- name: string;
4998
- } | null;
4999
- 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")[];
5000
- category?: {
5001
- id: string;
5002
- name: string;
5003
- /** @enum {string|null} */
5004
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
5005
- } | null;
5006
- banking?: {
5007
- /** @enum {string|null} */
5008
- category?: "trust" | "operating" | "external" | null;
5009
- /** @enum {string|null} */
5010
- type?: "deposit" | "creditCard" | null;
5011
- last4?: string | null;
5012
- currency?: string | null;
5013
- connections: {
5014
- id: string;
5015
- name: string;
5016
- connection?: {
5017
- id: string;
5018
- icon?: string | null;
5019
- } | null;
5020
- /** @enum {string|null} */
5021
- status?: "active" | "inactive" | null;
5022
- currentSync?: {
5023
- /** @enum {string} */
5024
- status: "queued" | "started" | "completed" | "failed" | "canceled";
5025
- createdAt: string;
5026
- updatedAt: string;
5027
- message?: string | null;
5028
- } | null;
5029
- source?: {
5030
- /** Format: uuid */
5031
- id: string;
5032
- type: string;
5033
- /** @enum {string|null} */
5034
- status?: "active" | "inactive" | null;
5035
- } | null;
5036
- }[];
5037
- bankRecords: {
5038
- reconciled: number;
5039
- unreconciled: number;
5040
- total: number;
5041
- latestCreatedAt?: string | null;
5042
- };
5043
- balance?: {
5044
- openingDate?: string | null;
5045
- opening: number;
5046
- ending: number;
5047
- } | null;
5048
- } | null;
4600
+ status: "active" | "inactive";
5049
4601
  } | null;
5050
4602
  isExcluded?: boolean | null;
5051
4603
  }[];
@@ -5063,66 +4615,11 @@ export interface operations {
5063
4615
  /** @enum {string|null} */
5064
4616
  party?: "owners" | "manager" | null;
5065
4617
  account?: {
4618
+ id: string;
5066
4619
  name: string;
5067
- /** @enum {string|null} */
5068
- status?: "active" | "inactive" | null;
4620
+ uniqueRef?: string | null;
5069
4621
  /** @enum {string} */
5070
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
5071
- id: string;
5072
- offsetAccount?: {
5073
- id: string;
5074
- name: string;
5075
- } | null;
5076
- 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")[];
5077
- category?: {
5078
- id: string;
5079
- name: string;
5080
- /** @enum {string|null} */
5081
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
5082
- } | null;
5083
- banking?: {
5084
- /** @enum {string|null} */
5085
- category?: "trust" | "operating" | "external" | null;
5086
- /** @enum {string|null} */
5087
- type?: "deposit" | "creditCard" | null;
5088
- last4?: string | null;
5089
- currency?: string | null;
5090
- connections: {
5091
- id: string;
5092
- name: string;
5093
- connection?: {
5094
- id: string;
5095
- icon?: string | null;
5096
- } | null;
5097
- /** @enum {string|null} */
5098
- status?: "active" | "inactive" | null;
5099
- currentSync?: {
5100
- /** @enum {string} */
5101
- status: "queued" | "started" | "completed" | "failed" | "canceled";
5102
- createdAt: string;
5103
- updatedAt: string;
5104
- message?: string | null;
5105
- } | null;
5106
- source?: {
5107
- /** Format: uuid */
5108
- id: string;
5109
- type: string;
5110
- /** @enum {string|null} */
5111
- status?: "active" | "inactive" | null;
5112
- } | null;
5113
- }[];
5114
- bankRecords: {
5115
- reconciled: number;
5116
- unreconciled: number;
5117
- total: number;
5118
- latestCreatedAt?: string | null;
5119
- };
5120
- balance?: {
5121
- openingDate?: string | null;
5122
- opening: number;
5123
- ending: number;
5124
- } | null;
5125
- } | null;
4622
+ status: "active" | "inactive";
5126
4623
  } | null;
5127
4624
  recurringFee?: {
5128
4625
  id: string;
@@ -5443,6 +4940,9 @@ export interface operations {
5443
4940
  account?: {
5444
4941
  id: string;
5445
4942
  name: string;
4943
+ uniqueRef?: string | null;
4944
+ /** @enum {string} */
4945
+ status: "active" | "inactive";
5446
4946
  /** @enum {string} */
5447
4947
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
5448
4948
  } | null;
@@ -5462,11 +4962,9 @@ export interface operations {
5462
4962
  account?: {
5463
4963
  id: string;
5464
4964
  name: string;
5465
- bankAccount?: {
5466
- /** Format: uuid */
5467
- id?: string | null;
5468
- name: string;
5469
- } | null;
4965
+ uniqueRef?: string | null;
4966
+ /** @enum {string} */
4967
+ status: "active" | "inactive";
5470
4968
  } | null;
5471
4969
  date: string;
5472
4970
  description: string;
@@ -5554,66 +5052,11 @@ export interface operations {
5554
5052
  [key: string]: unknown;
5555
5053
  } | null;
5556
5054
  account?: {
5055
+ id: string;
5557
5056
  name: string;
5558
- /** @enum {string|null} */
5559
- status?: "active" | "inactive" | null;
5057
+ uniqueRef?: string | null;
5560
5058
  /** @enum {string} */
5561
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
5562
- id: string;
5563
- offsetAccount?: {
5564
- id: string;
5565
- name: string;
5566
- } | null;
5567
- 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")[];
5568
- category?: {
5569
- id: string;
5570
- name: string;
5571
- /** @enum {string|null} */
5572
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
5573
- } | null;
5574
- banking?: {
5575
- /** @enum {string|null} */
5576
- category?: "trust" | "operating" | "external" | null;
5577
- /** @enum {string|null} */
5578
- type?: "deposit" | "creditCard" | null;
5579
- last4?: string | null;
5580
- currency?: string | null;
5581
- connections: {
5582
- id: string;
5583
- name: string;
5584
- connection?: {
5585
- id: string;
5586
- icon?: string | null;
5587
- } | null;
5588
- /** @enum {string|null} */
5589
- status?: "active" | "inactive" | null;
5590
- currentSync?: {
5591
- /** @enum {string} */
5592
- status: "queued" | "started" | "completed" | "failed" | "canceled";
5593
- createdAt: string;
5594
- updatedAt: string;
5595
- message?: string | null;
5596
- } | null;
5597
- source?: {
5598
- /** Format: uuid */
5599
- id: string;
5600
- type: string;
5601
- /** @enum {string|null} */
5602
- status?: "active" | "inactive" | null;
5603
- } | null;
5604
- }[];
5605
- bankRecords: {
5606
- reconciled: number;
5607
- unreconciled: number;
5608
- total: number;
5609
- latestCreatedAt?: string | null;
5610
- };
5611
- balance?: {
5612
- openingDate?: string | null;
5613
- opening: number;
5614
- ending: number;
5615
- } | null;
5616
- } | null;
5059
+ status: "active" | "inactive";
5617
5060
  } | null;
5618
5061
  isExcluded?: boolean | null;
5619
5062
  }[];
@@ -5631,66 +5074,11 @@ export interface operations {
5631
5074
  /** @enum {string|null} */
5632
5075
  party?: "owners" | "manager" | null;
5633
5076
  account?: {
5077
+ id: string;
5634
5078
  name: string;
5635
- /** @enum {string|null} */
5636
- status?: "active" | "inactive" | null;
5079
+ uniqueRef?: string | null;
5637
5080
  /** @enum {string} */
5638
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
5639
- id: string;
5640
- offsetAccount?: {
5641
- id: string;
5642
- name: string;
5643
- } | null;
5644
- 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")[];
5645
- category?: {
5646
- id: string;
5647
- name: string;
5648
- /** @enum {string|null} */
5649
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
5650
- } | null;
5651
- banking?: {
5652
- /** @enum {string|null} */
5653
- category?: "trust" | "operating" | "external" | null;
5654
- /** @enum {string|null} */
5655
- type?: "deposit" | "creditCard" | null;
5656
- last4?: string | null;
5657
- currency?: string | null;
5658
- connections: {
5659
- id: string;
5660
- name: string;
5661
- connection?: {
5662
- id: string;
5663
- icon?: string | null;
5664
- } | null;
5665
- /** @enum {string|null} */
5666
- status?: "active" | "inactive" | null;
5667
- currentSync?: {
5668
- /** @enum {string} */
5669
- status: "queued" | "started" | "completed" | "failed" | "canceled";
5670
- createdAt: string;
5671
- updatedAt: string;
5672
- message?: string | null;
5673
- } | null;
5674
- source?: {
5675
- /** Format: uuid */
5676
- id: string;
5677
- type: string;
5678
- /** @enum {string|null} */
5679
- status?: "active" | "inactive" | null;
5680
- } | null;
5681
- }[];
5682
- bankRecords: {
5683
- reconciled: number;
5684
- unreconciled: number;
5685
- total: number;
5686
- latestCreatedAt?: string | null;
5687
- };
5688
- balance?: {
5689
- openingDate?: string | null;
5690
- opening: number;
5691
- ending: number;
5692
- } | null;
5693
- } | null;
5081
+ status: "active" | "inactive";
5694
5082
  } | null;
5695
5083
  recurringFee?: {
5696
5084
  id: string;
@@ -5975,66 +5363,11 @@ export interface operations {
5975
5363
  [key: string]: unknown;
5976
5364
  } | null;
5977
5365
  account?: {
5366
+ id: string;
5978
5367
  name: string;
5979
- /** @enum {string|null} */
5980
- status?: "active" | "inactive" | null;
5368
+ uniqueRef?: string | null;
5981
5369
  /** @enum {string} */
5982
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
5983
- id: string;
5984
- offsetAccount?: {
5985
- id: string;
5986
- name: string;
5987
- } | null;
5988
- 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")[];
5989
- category?: {
5990
- id: string;
5991
- name: string;
5992
- /** @enum {string|null} */
5993
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
5994
- } | null;
5995
- banking?: {
5996
- /** @enum {string|null} */
5997
- category?: "trust" | "operating" | "external" | null;
5998
- /** @enum {string|null} */
5999
- type?: "deposit" | "creditCard" | null;
6000
- last4?: string | null;
6001
- currency?: string | null;
6002
- connections: {
6003
- id: string;
6004
- name: string;
6005
- connection?: {
6006
- id: string;
6007
- icon?: string | null;
6008
- } | null;
6009
- /** @enum {string|null} */
6010
- status?: "active" | "inactive" | null;
6011
- currentSync?: {
6012
- /** @enum {string} */
6013
- status: "queued" | "started" | "completed" | "failed" | "canceled";
6014
- createdAt: string;
6015
- updatedAt: string;
6016
- message?: string | null;
6017
- } | null;
6018
- source?: {
6019
- /** Format: uuid */
6020
- id: string;
6021
- type: string;
6022
- /** @enum {string|null} */
6023
- status?: "active" | "inactive" | null;
6024
- } | null;
6025
- }[];
6026
- bankRecords: {
6027
- reconciled: number;
6028
- unreconciled: number;
6029
- total: number;
6030
- latestCreatedAt?: string | null;
6031
- };
6032
- balance?: {
6033
- openingDate?: string | null;
6034
- opening: number;
6035
- ending: number;
6036
- } | null;
6037
- } | null;
5370
+ status: "active" | "inactive";
6038
5371
  } | null;
6039
5372
  isExcluded?: boolean | null;
6040
5373
  }[];
@@ -6279,6 +5612,9 @@ export interface operations {
6279
5612
  account?: {
6280
5613
  id: string;
6281
5614
  name: string;
5615
+ uniqueRef?: string | null;
5616
+ /** @enum {string} */
5617
+ status: "active" | "inactive";
6282
5618
  /** @enum {string} */
6283
5619
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
6284
5620
  } | null;
@@ -6298,11 +5634,9 @@ export interface operations {
6298
5634
  account?: {
6299
5635
  id: string;
6300
5636
  name: string;
6301
- bankAccount?: {
6302
- /** Format: uuid */
6303
- id?: string | null;
6304
- name: string;
6305
- } | null;
5637
+ uniqueRef?: string | null;
5638
+ /** @enum {string} */
5639
+ status: "active" | "inactive";
6306
5640
  } | null;
6307
5641
  date: string;
6308
5642
  description: string;
@@ -6390,66 +5724,11 @@ export interface operations {
6390
5724
  [key: string]: unknown;
6391
5725
  } | null;
6392
5726
  account?: {
5727
+ id: string;
6393
5728
  name: string;
6394
- /** @enum {string|null} */
6395
- status?: "active" | "inactive" | null;
5729
+ uniqueRef?: string | null;
6396
5730
  /** @enum {string} */
6397
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
6398
- id: string;
6399
- offsetAccount?: {
6400
- id: string;
6401
- name: string;
6402
- } | null;
6403
- 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")[];
6404
- category?: {
6405
- id: string;
6406
- name: string;
6407
- /** @enum {string|null} */
6408
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
6409
- } | null;
6410
- banking?: {
6411
- /** @enum {string|null} */
6412
- category?: "trust" | "operating" | "external" | null;
6413
- /** @enum {string|null} */
6414
- type?: "deposit" | "creditCard" | null;
6415
- last4?: string | null;
6416
- currency?: string | null;
6417
- connections: {
6418
- id: string;
6419
- name: string;
6420
- connection?: {
6421
- id: string;
6422
- icon?: string | null;
6423
- } | null;
6424
- /** @enum {string|null} */
6425
- status?: "active" | "inactive" | null;
6426
- currentSync?: {
6427
- /** @enum {string} */
6428
- status: "queued" | "started" | "completed" | "failed" | "canceled";
6429
- createdAt: string;
6430
- updatedAt: string;
6431
- message?: string | null;
6432
- } | null;
6433
- source?: {
6434
- /** Format: uuid */
6435
- id: string;
6436
- type: string;
6437
- /** @enum {string|null} */
6438
- status?: "active" | "inactive" | null;
6439
- } | null;
6440
- }[];
6441
- bankRecords: {
6442
- reconciled: number;
6443
- unreconciled: number;
6444
- total: number;
6445
- latestCreatedAt?: string | null;
6446
- };
6447
- balance?: {
6448
- openingDate?: string | null;
6449
- opening: number;
6450
- ending: number;
6451
- } | null;
6452
- } | null;
5731
+ status: "active" | "inactive";
6453
5732
  } | null;
6454
5733
  isExcluded?: boolean | null;
6455
5734
  }[];
@@ -6467,66 +5746,11 @@ export interface operations {
6467
5746
  /** @enum {string|null} */
6468
5747
  party?: "owners" | "manager" | null;
6469
5748
  account?: {
5749
+ id: string;
6470
5750
  name: string;
6471
- /** @enum {string|null} */
6472
- status?: "active" | "inactive" | null;
5751
+ uniqueRef?: string | null;
6473
5752
  /** @enum {string} */
6474
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
6475
- id: string;
6476
- offsetAccount?: {
6477
- id: string;
6478
- name: string;
6479
- } | null;
6480
- 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")[];
6481
- category?: {
6482
- id: string;
6483
- name: string;
6484
- /** @enum {string|null} */
6485
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
6486
- } | null;
6487
- banking?: {
6488
- /** @enum {string|null} */
6489
- category?: "trust" | "operating" | "external" | null;
6490
- /** @enum {string|null} */
6491
- type?: "deposit" | "creditCard" | null;
6492
- last4?: string | null;
6493
- currency?: string | null;
6494
- connections: {
6495
- id: string;
6496
- name: string;
6497
- connection?: {
6498
- id: string;
6499
- icon?: string | null;
6500
- } | null;
6501
- /** @enum {string|null} */
6502
- status?: "active" | "inactive" | null;
6503
- currentSync?: {
6504
- /** @enum {string} */
6505
- status: "queued" | "started" | "completed" | "failed" | "canceled";
6506
- createdAt: string;
6507
- updatedAt: string;
6508
- message?: string | null;
6509
- } | null;
6510
- source?: {
6511
- /** Format: uuid */
6512
- id: string;
6513
- type: string;
6514
- /** @enum {string|null} */
6515
- status?: "active" | "inactive" | null;
6516
- } | null;
6517
- }[];
6518
- bankRecords: {
6519
- reconciled: number;
6520
- unreconciled: number;
6521
- total: number;
6522
- latestCreatedAt?: string | null;
6523
- };
6524
- balance?: {
6525
- openingDate?: string | null;
6526
- opening: number;
6527
- ending: number;
6528
- } | null;
6529
- } | null;
5753
+ status: "active" | "inactive";
6530
5754
  } | null;
6531
5755
  recurringFee?: {
6532
5756
  id: string;
@@ -6600,7 +5824,7 @@ export interface operations {
6600
5824
  data: {
6601
5825
  /** Format: uuid */
6602
5826
  listingId: string;
6603
- /** @default 2025-10-29 */
5827
+ /** @default 2025-10-30 */
6604
5828
  startAt: string;
6605
5829
  endAt?: string | null;
6606
5830
  setListingInactive?: boolean | null;
@@ -6682,7 +5906,7 @@ export interface operations {
6682
5906
  "application/json": {
6683
5907
  /** Format: uuid */
6684
5908
  listingId: string;
6685
- /** @default 2025-10-29 */
5909
+ /** @default 2025-10-30 */
6686
5910
  startAt?: string;
6687
5911
  endAt?: string | null;
6688
5912
  members: {
@@ -6716,7 +5940,7 @@ export interface operations {
6716
5940
  "application/json": {
6717
5941
  /** Format: uuid */
6718
5942
  listingId: string;
6719
- /** @default 2025-10-29 */
5943
+ /** @default 2025-10-30 */
6720
5944
  startAt: string;
6721
5945
  endAt?: string | null;
6722
5946
  setListingInactive?: boolean | null;
@@ -6796,7 +6020,7 @@ export interface operations {
6796
6020
  "application/json": {
6797
6021
  /** Format: uuid */
6798
6022
  listingId: string;
6799
- /** @default 2025-10-29 */
6023
+ /** @default 2025-10-30 */
6800
6024
  startAt: string;
6801
6025
  endAt?: string | null;
6802
6026
  setListingInactive?: boolean | null;
@@ -6879,7 +6103,7 @@ export interface operations {
6879
6103
  "application/json": {
6880
6104
  /** Format: uuid */
6881
6105
  listingId?: string;
6882
- /** @default 2025-10-29 */
6106
+ /** @default 2025-10-30 */
6883
6107
  startAt?: string;
6884
6108
  endAt?: string | null;
6885
6109
  members?: {
@@ -6913,7 +6137,7 @@ export interface operations {
6913
6137
  "application/json": {
6914
6138
  /** Format: uuid */
6915
6139
  listingId: string;
6916
- /** @default 2025-10-29 */
6140
+ /** @default 2025-10-30 */
6917
6141
  startAt: string;
6918
6142
  endAt?: string | null;
6919
6143
  setListingInactive?: boolean | null;
@@ -7099,7 +6323,7 @@ export interface operations {
7099
6323
  /** Format: uuid */
7100
6324
  sourceId?: string | null;
7101
6325
  initialOwnership?: {
7102
- /** @default 2025-10-29 */
6326
+ /** @default 2025-10-30 */
7103
6327
  startAt?: string;
7104
6328
  endAt?: string | null;
7105
6329
  members: {
@@ -7157,7 +6381,7 @@ export interface operations {
7157
6381
  status: "active" | "inactive";
7158
6382
  defaultCurrency?: string | null;
7159
6383
  activeOwnership?: {
7160
- /** @default 2025-10-29 */
6384
+ /** @default 2025-10-30 */
7161
6385
  startAt: string;
7162
6386
  endAt?: string | null;
7163
6387
  setListingInactive?: boolean | null;
@@ -7398,7 +6622,7 @@ export interface operations {
7398
6622
  status: "active" | "inactive";
7399
6623
  defaultCurrency?: string | null;
7400
6624
  activeOwnership?: {
7401
- /** @default 2025-10-29 */
6625
+ /** @default 2025-10-30 */
7402
6626
  startAt: string;
7403
6627
  endAt?: string | null;
7404
6628
  setListingInactive?: boolean | null;
@@ -7537,7 +6761,7 @@ export interface operations {
7537
6761
  /** Format: uuid */
7538
6762
  sourceId?: string | null;
7539
6763
  initialOwnership?: {
7540
- /** @default 2025-10-29 */
6764
+ /** @default 2025-10-30 */
7541
6765
  startAt?: string;
7542
6766
  endAt?: string | null;
7543
6767
  members: {
@@ -7591,7 +6815,7 @@ export interface operations {
7591
6815
  status: "active" | "inactive";
7592
6816
  defaultCurrency?: string | null;
7593
6817
  activeOwnership?: {
7594
- /** @default 2025-10-29 */
6818
+ /** @default 2025-10-30 */
7595
6819
  startAt: string;
7596
6820
  endAt?: string | null;
7597
6821
  setListingInactive?: boolean | null;
@@ -7808,7 +7032,7 @@ export interface operations {
7808
7032
  status: "active" | "inactive";
7809
7033
  defaultCurrency?: string | null;
7810
7034
  activeOwnership?: {
7811
- /** @default 2025-10-29 */
7035
+ /** @default 2025-10-30 */
7812
7036
  startAt: string;
7813
7037
  endAt?: string | null;
7814
7038
  setListingInactive?: boolean | null;
@@ -7955,7 +7179,7 @@ export interface operations {
7955
7179
  /** Format: uuid */
7956
7180
  sourceId?: string | null;
7957
7181
  initialOwnership?: {
7958
- /** @default 2025-10-29 */
7182
+ /** @default 2025-10-30 */
7959
7183
  startAt?: string;
7960
7184
  endAt?: string | null;
7961
7185
  members: {
@@ -8009,7 +7233,7 @@ export interface operations {
8009
7233
  status: "active" | "inactive";
8010
7234
  defaultCurrency?: string | null;
8011
7235
  activeOwnership?: {
8012
- /** @default 2025-10-29 */
7236
+ /** @default 2025-10-30 */
8013
7237
  startAt: string;
8014
7238
  endAt?: string | null;
8015
7239
  setListingInactive?: boolean | null;
@@ -9760,6 +8984,9 @@ export interface operations {
9760
8984
  account?: {
9761
8985
  id: string;
9762
8986
  name: string;
8987
+ uniqueRef?: string | null;
8988
+ /** @enum {string} */
8989
+ status: "active" | "inactive";
9763
8990
  /** @enum {string} */
9764
8991
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
9765
8992
  } | null;
@@ -9779,11 +9006,9 @@ export interface operations {
9779
9006
  account?: {
9780
9007
  id: string;
9781
9008
  name: string;
9782
- bankAccount?: {
9783
- /** Format: uuid */
9784
- id?: string | null;
9785
- name: string;
9786
- } | null;
9009
+ uniqueRef?: string | null;
9010
+ /** @enum {string} */
9011
+ status: "active" | "inactive";
9787
9012
  } | null;
9788
9013
  date: string;
9789
9014
  description: string;
@@ -10351,206 +9576,41 @@ export interface operations {
10351
9576
  id: string;
10352
9577
  uniqueRef: string;
10353
9578
  creditAccount: {
9579
+ id: string;
10354
9580
  name: string;
10355
- /** @enum {string|null} */
10356
- status?: "active" | "inactive" | null;
9581
+ uniqueRef?: string | null;
10357
9582
  /** @enum {string} */
10358
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
10359
- id: string;
10360
- offsetAccount?: {
10361
- id: string;
10362
- name: string;
10363
- } | null;
10364
- 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")[];
10365
- category?: {
10366
- id: string;
10367
- name: string;
10368
- /** @enum {string|null} */
10369
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
10370
- } | null;
10371
- banking?: {
10372
- /** @enum {string|null} */
10373
- category?: "trust" | "operating" | "external" | null;
10374
- /** @enum {string|null} */
10375
- type?: "deposit" | "creditCard" | null;
10376
- last4?: string | null;
10377
- currency?: string | null;
10378
- connections: {
10379
- id: string;
10380
- name: string;
10381
- connection?: {
10382
- id: string;
10383
- icon?: string | null;
10384
- } | null;
10385
- /** @enum {string|null} */
10386
- status?: "active" | "inactive" | null;
10387
- currentSync?: {
10388
- /** @enum {string} */
10389
- status: "queued" | "started" | "completed" | "failed" | "canceled";
10390
- createdAt: string;
10391
- updatedAt: string;
10392
- message?: string | null;
10393
- } | null;
10394
- source?: {
10395
- /** Format: uuid */
10396
- id: string;
10397
- type: string;
10398
- /** @enum {string|null} */
10399
- status?: "active" | "inactive" | null;
10400
- } | null;
10401
- }[];
10402
- bankRecords: {
10403
- reconciled: number;
10404
- unreconciled: number;
10405
- total: number;
10406
- latestCreatedAt?: string | null;
10407
- };
10408
- balance?: {
10409
- openingDate?: string | null;
10410
- opening: number;
10411
- ending: number;
10412
- } | null;
10413
- } | null;
9583
+ status: "active" | "inactive";
10414
9584
  };
10415
9585
  debitAccount: {
9586
+ id: string;
10416
9587
  name: string;
10417
- /** @enum {string|null} */
10418
- status?: "active" | "inactive" | null;
9588
+ uniqueRef?: string | null;
10419
9589
  /** @enum {string} */
10420
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
10421
- id: string;
10422
- offsetAccount?: {
10423
- id: string;
10424
- name: string;
10425
- } | null;
10426
- 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")[];
10427
- category?: {
10428
- id: string;
10429
- name: string;
10430
- /** @enum {string|null} */
10431
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
10432
- } | null;
10433
- banking?: {
10434
- /** @enum {string|null} */
10435
- category?: "trust" | "operating" | "external" | null;
10436
- /** @enum {string|null} */
10437
- type?: "deposit" | "creditCard" | null;
10438
- last4?: string | null;
10439
- currency?: string | null;
10440
- connections: {
10441
- id: string;
10442
- name: string;
10443
- connection?: {
10444
- id: string;
10445
- icon?: string | null;
10446
- } | null;
10447
- /** @enum {string|null} */
10448
- status?: "active" | "inactive" | null;
10449
- currentSync?: {
10450
- /** @enum {string} */
10451
- status: "queued" | "started" | "completed" | "failed" | "canceled";
10452
- createdAt: string;
10453
- updatedAt: string;
10454
- message?: string | null;
10455
- } | null;
10456
- source?: {
10457
- /** Format: uuid */
10458
- id: string;
10459
- type: string;
10460
- /** @enum {string|null} */
10461
- status?: "active" | "inactive" | null;
10462
- } | null;
10463
- }[];
10464
- bankRecords: {
10465
- reconciled: number;
10466
- unreconciled: number;
10467
- total: number;
10468
- latestCreatedAt?: string | null;
10469
- };
10470
- balance?: {
10471
- openingDate?: string | null;
10472
- opening: number;
10473
- ending: number;
10474
- } | null;
10475
- } | null;
9590
+ status: "active" | "inactive";
10476
9591
  };
10477
9592
  linkedAccounts: {
9593
+ id: string;
9594
+ name: string;
9595
+ uniqueRef?: string | null;
9596
+ /** @enum {string} */
9597
+ status: "active" | "inactive";
9598
+ }[];
9599
+ taxRate?: {
10478
9600
  name: string;
9601
+ countryCode?: string | null;
9602
+ currency?: string | null;
9603
+ /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9604
+ basisPoints: number;
9605
+ /** @enum {string|null} */
9606
+ type?: "markup" | "tax" | null;
9607
+ uniqueRef?: string | null;
10479
9608
  /** @enum {string|null} */
10480
9609
  status?: "active" | "inactive" | null;
10481
- /** @enum {string} */
10482
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
10483
- id: string;
10484
- offsetAccount?: {
10485
- id: string;
10486
- name: string;
10487
- } | null;
10488
- 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")[];
10489
- category?: {
10490
- id: string;
10491
- name: string;
10492
- /** @enum {string|null} */
10493
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
10494
- } | null;
10495
- banking?: {
10496
- /** @enum {string|null} */
10497
- category?: "trust" | "operating" | "external" | null;
10498
- /** @enum {string|null} */
10499
- type?: "deposit" | "creditCard" | null;
10500
- last4?: string | null;
10501
- currency?: string | null;
10502
- connections: {
10503
- id: string;
10504
- name: string;
10505
- connection?: {
10506
- id: string;
10507
- icon?: string | null;
10508
- } | null;
10509
- /** @enum {string|null} */
10510
- status?: "active" | "inactive" | null;
10511
- currentSync?: {
10512
- /** @enum {string} */
10513
- status: "queued" | "started" | "completed" | "failed" | "canceled";
10514
- createdAt: string;
10515
- updatedAt: string;
10516
- message?: string | null;
10517
- } | null;
10518
- source?: {
10519
- /** Format: uuid */
10520
- id: string;
10521
- type: string;
10522
- /** @enum {string|null} */
10523
- status?: "active" | "inactive" | null;
10524
- } | null;
10525
- }[];
10526
- bankRecords: {
10527
- reconciled: number;
10528
- unreconciled: number;
10529
- total: number;
10530
- latestCreatedAt?: string | null;
10531
- };
10532
- balance?: {
10533
- openingDate?: string | null;
10534
- opening: number;
10535
- ending: number;
10536
- } | null;
10537
- } | null;
10538
- }[];
10539
- taxRate?: {
10540
- name: string;
10541
- countryCode?: string | null;
10542
- currency?: string | null;
10543
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
10544
- basisPoints: number;
10545
- /** @enum {string|null} */
10546
- type?: "markup" | "tax" | null;
10547
- uniqueRef?: string | null;
10548
- /** @enum {string|null} */
10549
- status?: "active" | "inactive" | null;
10550
- /** Format: uuid */
10551
- accountId?: string | null;
10552
- /** Format: uuid */
10553
- debitAccountId?: string | null;
9610
+ /** Format: uuid */
9611
+ accountId?: string | null;
9612
+ /** Format: uuid */
9613
+ debitAccountId?: string | null;
10554
9614
  id: string;
10555
9615
  } | null;
10556
9616
  };
@@ -10685,190 +9745,25 @@ export interface operations {
10685
9745
  id: string;
10686
9746
  uniqueRef: string;
10687
9747
  creditAccount: {
9748
+ id: string;
10688
9749
  name: string;
10689
- /** @enum {string|null} */
10690
- status?: "active" | "inactive" | null;
9750
+ uniqueRef?: string | null;
10691
9751
  /** @enum {string} */
10692
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
10693
- id: string;
10694
- offsetAccount?: {
10695
- id: string;
10696
- name: string;
10697
- } | null;
10698
- 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")[];
10699
- category?: {
10700
- id: string;
10701
- name: string;
10702
- /** @enum {string|null} */
10703
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
10704
- } | null;
10705
- banking?: {
10706
- /** @enum {string|null} */
10707
- category?: "trust" | "operating" | "external" | null;
10708
- /** @enum {string|null} */
10709
- type?: "deposit" | "creditCard" | null;
10710
- last4?: string | null;
10711
- currency?: string | null;
10712
- connections: {
10713
- id: string;
10714
- name: string;
10715
- connection?: {
10716
- id: string;
10717
- icon?: string | null;
10718
- } | null;
10719
- /** @enum {string|null} */
10720
- status?: "active" | "inactive" | null;
10721
- currentSync?: {
10722
- /** @enum {string} */
10723
- status: "queued" | "started" | "completed" | "failed" | "canceled";
10724
- createdAt: string;
10725
- updatedAt: string;
10726
- message?: string | null;
10727
- } | null;
10728
- source?: {
10729
- /** Format: uuid */
10730
- id: string;
10731
- type: string;
10732
- /** @enum {string|null} */
10733
- status?: "active" | "inactive" | null;
10734
- } | null;
10735
- }[];
10736
- bankRecords: {
10737
- reconciled: number;
10738
- unreconciled: number;
10739
- total: number;
10740
- latestCreatedAt?: string | null;
10741
- };
10742
- balance?: {
10743
- openingDate?: string | null;
10744
- opening: number;
10745
- ending: number;
10746
- } | null;
10747
- } | null;
9752
+ status: "active" | "inactive";
10748
9753
  };
10749
9754
  debitAccount: {
9755
+ id: string;
10750
9756
  name: string;
10751
- /** @enum {string|null} */
10752
- status?: "active" | "inactive" | null;
9757
+ uniqueRef?: string | null;
10753
9758
  /** @enum {string} */
10754
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
10755
- id: string;
10756
- offsetAccount?: {
10757
- id: string;
10758
- name: string;
10759
- } | null;
10760
- 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")[];
10761
- category?: {
10762
- id: string;
10763
- name: string;
10764
- /** @enum {string|null} */
10765
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
10766
- } | null;
10767
- banking?: {
10768
- /** @enum {string|null} */
10769
- category?: "trust" | "operating" | "external" | null;
10770
- /** @enum {string|null} */
10771
- type?: "deposit" | "creditCard" | null;
10772
- last4?: string | null;
10773
- currency?: string | null;
10774
- connections: {
10775
- id: string;
10776
- name: string;
10777
- connection?: {
10778
- id: string;
10779
- icon?: string | null;
10780
- } | null;
10781
- /** @enum {string|null} */
10782
- status?: "active" | "inactive" | null;
10783
- currentSync?: {
10784
- /** @enum {string} */
10785
- status: "queued" | "started" | "completed" | "failed" | "canceled";
10786
- createdAt: string;
10787
- updatedAt: string;
10788
- message?: string | null;
10789
- } | null;
10790
- source?: {
10791
- /** Format: uuid */
10792
- id: string;
10793
- type: string;
10794
- /** @enum {string|null} */
10795
- status?: "active" | "inactive" | null;
10796
- } | null;
10797
- }[];
10798
- bankRecords: {
10799
- reconciled: number;
10800
- unreconciled: number;
10801
- total: number;
10802
- latestCreatedAt?: string | null;
10803
- };
10804
- balance?: {
10805
- openingDate?: string | null;
10806
- opening: number;
10807
- ending: number;
10808
- } | null;
10809
- } | null;
9759
+ status: "active" | "inactive";
10810
9760
  };
10811
9761
  linkedAccounts: {
9762
+ id: string;
10812
9763
  name: string;
10813
- /** @enum {string|null} */
10814
- status?: "active" | "inactive" | null;
9764
+ uniqueRef?: string | null;
10815
9765
  /** @enum {string} */
10816
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
10817
- id: string;
10818
- offsetAccount?: {
10819
- id: string;
10820
- name: string;
10821
- } | null;
10822
- 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")[];
10823
- category?: {
10824
- id: string;
10825
- name: string;
10826
- /** @enum {string|null} */
10827
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
10828
- } | null;
10829
- banking?: {
10830
- /** @enum {string|null} */
10831
- category?: "trust" | "operating" | "external" | null;
10832
- /** @enum {string|null} */
10833
- type?: "deposit" | "creditCard" | null;
10834
- last4?: string | null;
10835
- currency?: string | null;
10836
- connections: {
10837
- id: string;
10838
- name: string;
10839
- connection?: {
10840
- id: string;
10841
- icon?: string | null;
10842
- } | null;
10843
- /** @enum {string|null} */
10844
- status?: "active" | "inactive" | null;
10845
- currentSync?: {
10846
- /** @enum {string} */
10847
- status: "queued" | "started" | "completed" | "failed" | "canceled";
10848
- createdAt: string;
10849
- updatedAt: string;
10850
- message?: string | null;
10851
- } | null;
10852
- source?: {
10853
- /** Format: uuid */
10854
- id: string;
10855
- type: string;
10856
- /** @enum {string|null} */
10857
- status?: "active" | "inactive" | null;
10858
- } | null;
10859
- }[];
10860
- bankRecords: {
10861
- reconciled: number;
10862
- unreconciled: number;
10863
- total: number;
10864
- latestCreatedAt?: string | null;
10865
- };
10866
- balance?: {
10867
- openingDate?: string | null;
10868
- opening: number;
10869
- ending: number;
10870
- } | null;
10871
- } | null;
9766
+ status: "active" | "inactive";
10872
9767
  }[];
10873
9768
  taxRate?: {
10874
9769
  name: string;
@@ -11058,190 +9953,25 @@ export interface operations {
11058
9953
  id: string;
11059
9954
  uniqueRef: string;
11060
9955
  creditAccount: {
9956
+ id: string;
11061
9957
  name: string;
11062
- /** @enum {string|null} */
11063
- status?: "active" | "inactive" | null;
9958
+ uniqueRef?: string | null;
11064
9959
  /** @enum {string} */
11065
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
11066
- id: string;
11067
- offsetAccount?: {
11068
- id: string;
11069
- name: string;
11070
- } | null;
11071
- 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")[];
11072
- category?: {
11073
- id: string;
11074
- name: string;
11075
- /** @enum {string|null} */
11076
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
11077
- } | null;
11078
- banking?: {
11079
- /** @enum {string|null} */
11080
- category?: "trust" | "operating" | "external" | null;
11081
- /** @enum {string|null} */
11082
- type?: "deposit" | "creditCard" | null;
11083
- last4?: string | null;
11084
- currency?: string | null;
11085
- connections: {
11086
- id: string;
11087
- name: string;
11088
- connection?: {
11089
- id: string;
11090
- icon?: string | null;
11091
- } | null;
11092
- /** @enum {string|null} */
11093
- status?: "active" | "inactive" | null;
11094
- currentSync?: {
11095
- /** @enum {string} */
11096
- status: "queued" | "started" | "completed" | "failed" | "canceled";
11097
- createdAt: string;
11098
- updatedAt: string;
11099
- message?: string | null;
11100
- } | null;
11101
- source?: {
11102
- /** Format: uuid */
11103
- id: string;
11104
- type: string;
11105
- /** @enum {string|null} */
11106
- status?: "active" | "inactive" | null;
11107
- } | null;
11108
- }[];
11109
- bankRecords: {
11110
- reconciled: number;
11111
- unreconciled: number;
11112
- total: number;
11113
- latestCreatedAt?: string | null;
11114
- };
11115
- balance?: {
11116
- openingDate?: string | null;
11117
- opening: number;
11118
- ending: number;
11119
- } | null;
11120
- } | null;
9960
+ status: "active" | "inactive";
11121
9961
  };
11122
9962
  debitAccount: {
9963
+ id: string;
11123
9964
  name: string;
11124
- /** @enum {string|null} */
11125
- status?: "active" | "inactive" | null;
9965
+ uniqueRef?: string | null;
11126
9966
  /** @enum {string} */
11127
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
11128
- id: string;
11129
- offsetAccount?: {
11130
- id: string;
11131
- name: string;
11132
- } | null;
11133
- 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")[];
11134
- category?: {
11135
- id: string;
11136
- name: string;
11137
- /** @enum {string|null} */
11138
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
11139
- } | null;
11140
- banking?: {
11141
- /** @enum {string|null} */
11142
- category?: "trust" | "operating" | "external" | null;
11143
- /** @enum {string|null} */
11144
- type?: "deposit" | "creditCard" | null;
11145
- last4?: string | null;
11146
- currency?: string | null;
11147
- connections: {
11148
- id: string;
11149
- name: string;
11150
- connection?: {
11151
- id: string;
11152
- icon?: string | null;
11153
- } | null;
11154
- /** @enum {string|null} */
11155
- status?: "active" | "inactive" | null;
11156
- currentSync?: {
11157
- /** @enum {string} */
11158
- status: "queued" | "started" | "completed" | "failed" | "canceled";
11159
- createdAt: string;
11160
- updatedAt: string;
11161
- message?: string | null;
11162
- } | null;
11163
- source?: {
11164
- /** Format: uuid */
11165
- id: string;
11166
- type: string;
11167
- /** @enum {string|null} */
11168
- status?: "active" | "inactive" | null;
11169
- } | null;
11170
- }[];
11171
- bankRecords: {
11172
- reconciled: number;
11173
- unreconciled: number;
11174
- total: number;
11175
- latestCreatedAt?: string | null;
11176
- };
11177
- balance?: {
11178
- openingDate?: string | null;
11179
- opening: number;
11180
- ending: number;
11181
- } | null;
11182
- } | null;
9967
+ status: "active" | "inactive";
11183
9968
  };
11184
9969
  linkedAccounts: {
9970
+ id: string;
11185
9971
  name: string;
11186
- /** @enum {string|null} */
11187
- status?: "active" | "inactive" | null;
9972
+ uniqueRef?: string | null;
11188
9973
  /** @enum {string} */
11189
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
11190
- id: string;
11191
- offsetAccount?: {
11192
- id: string;
11193
- name: string;
11194
- } | null;
11195
- 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")[];
11196
- category?: {
11197
- id: string;
11198
- name: string;
11199
- /** @enum {string|null} */
11200
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
11201
- } | null;
11202
- banking?: {
11203
- /** @enum {string|null} */
11204
- category?: "trust" | "operating" | "external" | null;
11205
- /** @enum {string|null} */
11206
- type?: "deposit" | "creditCard" | null;
11207
- last4?: string | null;
11208
- currency?: string | null;
11209
- connections: {
11210
- id: string;
11211
- name: string;
11212
- connection?: {
11213
- id: string;
11214
- icon?: string | null;
11215
- } | null;
11216
- /** @enum {string|null} */
11217
- status?: "active" | "inactive" | null;
11218
- currentSync?: {
11219
- /** @enum {string} */
11220
- status: "queued" | "started" | "completed" | "failed" | "canceled";
11221
- createdAt: string;
11222
- updatedAt: string;
11223
- message?: string | null;
11224
- } | null;
11225
- source?: {
11226
- /** Format: uuid */
11227
- id: string;
11228
- type: string;
11229
- /** @enum {string|null} */
11230
- status?: "active" | "inactive" | null;
11231
- } | null;
11232
- }[];
11233
- bankRecords: {
11234
- reconciled: number;
11235
- unreconciled: number;
11236
- total: number;
11237
- latestCreatedAt?: string | null;
11238
- };
11239
- balance?: {
11240
- openingDate?: string | null;
11241
- opening: number;
11242
- ending: number;
11243
- } | null;
11244
- } | null;
9974
+ status: "active" | "inactive";
11245
9975
  }[];
11246
9976
  taxRate?: {
11247
9977
  name: string;
@@ -11393,197 +10123,32 @@ export interface operations {
11393
10123
  /** @enum {string} */
11394
10124
  creditParty: "manager" | "owners";
11395
10125
  /** @enum {string} */
11396
- debitParty: "manager" | "owners";
11397
- bookingChannelsFilter?: string[] | null;
11398
- /** @enum {string|null} */
11399
- statusFilter?: "canceled" | "booked" | null;
11400
- id: string;
11401
- uniqueRef: string;
11402
- creditAccount: {
11403
- name: string;
11404
- /** @enum {string|null} */
11405
- status?: "active" | "inactive" | null;
11406
- /** @enum {string} */
11407
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
11408
- id: string;
11409
- offsetAccount?: {
11410
- id: string;
11411
- name: string;
11412
- } | null;
11413
- 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")[];
11414
- category?: {
11415
- id: string;
11416
- name: string;
11417
- /** @enum {string|null} */
11418
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
11419
- } | null;
11420
- banking?: {
11421
- /** @enum {string|null} */
11422
- category?: "trust" | "operating" | "external" | null;
11423
- /** @enum {string|null} */
11424
- type?: "deposit" | "creditCard" | null;
11425
- last4?: string | null;
11426
- currency?: string | null;
11427
- connections: {
11428
- id: string;
11429
- name: string;
11430
- connection?: {
11431
- id: string;
11432
- icon?: string | null;
11433
- } | null;
11434
- /** @enum {string|null} */
11435
- status?: "active" | "inactive" | null;
11436
- currentSync?: {
11437
- /** @enum {string} */
11438
- status: "queued" | "started" | "completed" | "failed" | "canceled";
11439
- createdAt: string;
11440
- updatedAt: string;
11441
- message?: string | null;
11442
- } | null;
11443
- source?: {
11444
- /** Format: uuid */
11445
- id: string;
11446
- type: string;
11447
- /** @enum {string|null} */
11448
- status?: "active" | "inactive" | null;
11449
- } | null;
11450
- }[];
11451
- bankRecords: {
11452
- reconciled: number;
11453
- unreconciled: number;
11454
- total: number;
11455
- latestCreatedAt?: string | null;
11456
- };
11457
- balance?: {
11458
- openingDate?: string | null;
11459
- opening: number;
11460
- ending: number;
11461
- } | null;
11462
- } | null;
10126
+ debitParty: "manager" | "owners";
10127
+ bookingChannelsFilter?: string[] | null;
10128
+ /** @enum {string|null} */
10129
+ statusFilter?: "canceled" | "booked" | null;
10130
+ id: string;
10131
+ uniqueRef: string;
10132
+ creditAccount: {
10133
+ id: string;
10134
+ name: string;
10135
+ uniqueRef?: string | null;
10136
+ /** @enum {string} */
10137
+ status: "active" | "inactive";
11463
10138
  };
11464
10139
  debitAccount: {
10140
+ id: string;
11465
10141
  name: string;
11466
- /** @enum {string|null} */
11467
- status?: "active" | "inactive" | null;
10142
+ uniqueRef?: string | null;
11468
10143
  /** @enum {string} */
11469
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
11470
- id: string;
11471
- offsetAccount?: {
11472
- id: string;
11473
- name: string;
11474
- } | null;
11475
- 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")[];
11476
- category?: {
11477
- id: string;
11478
- name: string;
11479
- /** @enum {string|null} */
11480
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
11481
- } | null;
11482
- banking?: {
11483
- /** @enum {string|null} */
11484
- category?: "trust" | "operating" | "external" | null;
11485
- /** @enum {string|null} */
11486
- type?: "deposit" | "creditCard" | null;
11487
- last4?: string | null;
11488
- currency?: string | null;
11489
- connections: {
11490
- id: string;
11491
- name: string;
11492
- connection?: {
11493
- id: string;
11494
- icon?: string | null;
11495
- } | null;
11496
- /** @enum {string|null} */
11497
- status?: "active" | "inactive" | null;
11498
- currentSync?: {
11499
- /** @enum {string} */
11500
- status: "queued" | "started" | "completed" | "failed" | "canceled";
11501
- createdAt: string;
11502
- updatedAt: string;
11503
- message?: string | null;
11504
- } | null;
11505
- source?: {
11506
- /** Format: uuid */
11507
- id: string;
11508
- type: string;
11509
- /** @enum {string|null} */
11510
- status?: "active" | "inactive" | null;
11511
- } | null;
11512
- }[];
11513
- bankRecords: {
11514
- reconciled: number;
11515
- unreconciled: number;
11516
- total: number;
11517
- latestCreatedAt?: string | null;
11518
- };
11519
- balance?: {
11520
- openingDate?: string | null;
11521
- opening: number;
11522
- ending: number;
11523
- } | null;
11524
- } | null;
10144
+ status: "active" | "inactive";
11525
10145
  };
11526
10146
  linkedAccounts: {
10147
+ id: string;
11527
10148
  name: string;
11528
- /** @enum {string|null} */
11529
- status?: "active" | "inactive" | null;
10149
+ uniqueRef?: string | null;
11530
10150
  /** @enum {string} */
11531
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
11532
- id: string;
11533
- offsetAccount?: {
11534
- id: string;
11535
- name: string;
11536
- } | null;
11537
- 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")[];
11538
- category?: {
11539
- id: string;
11540
- name: string;
11541
- /** @enum {string|null} */
11542
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
11543
- } | null;
11544
- banking?: {
11545
- /** @enum {string|null} */
11546
- category?: "trust" | "operating" | "external" | null;
11547
- /** @enum {string|null} */
11548
- type?: "deposit" | "creditCard" | null;
11549
- last4?: string | null;
11550
- currency?: string | null;
11551
- connections: {
11552
- id: string;
11553
- name: string;
11554
- connection?: {
11555
- id: string;
11556
- icon?: string | null;
11557
- } | null;
11558
- /** @enum {string|null} */
11559
- status?: "active" | "inactive" | null;
11560
- currentSync?: {
11561
- /** @enum {string} */
11562
- status: "queued" | "started" | "completed" | "failed" | "canceled";
11563
- createdAt: string;
11564
- updatedAt: string;
11565
- message?: string | null;
11566
- } | null;
11567
- source?: {
11568
- /** Format: uuid */
11569
- id: string;
11570
- type: string;
11571
- /** @enum {string|null} */
11572
- status?: "active" | "inactive" | null;
11573
- } | null;
11574
- }[];
11575
- bankRecords: {
11576
- reconciled: number;
11577
- unreconciled: number;
11578
- total: number;
11579
- latestCreatedAt?: string | null;
11580
- };
11581
- balance?: {
11582
- openingDate?: string | null;
11583
- opening: number;
11584
- ending: number;
11585
- } | null;
11586
- } | null;
10151
+ status: "active" | "inactive";
11587
10152
  }[];
11588
10153
  taxRate?: {
11589
10154
  name: string;
@@ -11727,66 +10292,11 @@ export interface operations {
11727
10292
  name?: string | null;
11728
10293
  }[];
11729
10294
  linkedAccounts: {
10295
+ id: string;
11730
10296
  name: string;
11731
- /** @enum {string|null} */
11732
- status?: "active" | "inactive" | null;
10297
+ uniqueRef?: string | null;
11733
10298
  /** @enum {string} */
11734
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
11735
- id: string;
11736
- offsetAccount?: {
11737
- id: string;
11738
- name: string;
11739
- } | null;
11740
- 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")[];
11741
- category?: {
11742
- id: string;
11743
- name: string;
11744
- /** @enum {string|null} */
11745
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
11746
- } | null;
11747
- banking?: {
11748
- /** @enum {string|null} */
11749
- category?: "trust" | "operating" | "external" | null;
11750
- /** @enum {string|null} */
11751
- type?: "deposit" | "creditCard" | null;
11752
- last4?: string | null;
11753
- currency?: string | null;
11754
- connections: {
11755
- id: string;
11756
- name: string;
11757
- connection?: {
11758
- id: string;
11759
- icon?: string | null;
11760
- } | null;
11761
- /** @enum {string|null} */
11762
- status?: "active" | "inactive" | null;
11763
- currentSync?: {
11764
- /** @enum {string} */
11765
- status: "queued" | "started" | "completed" | "failed" | "canceled";
11766
- createdAt: string;
11767
- updatedAt: string;
11768
- message?: string | null;
11769
- } | null;
11770
- source?: {
11771
- /** Format: uuid */
11772
- id: string;
11773
- type: string;
11774
- /** @enum {string|null} */
11775
- status?: "active" | "inactive" | null;
11776
- } | null;
11777
- }[];
11778
- bankRecords: {
11779
- reconciled: number;
11780
- unreconciled: number;
11781
- total: number;
11782
- latestCreatedAt?: string | null;
11783
- };
11784
- balance?: {
11785
- openingDate?: string | null;
11786
- opening: number;
11787
- ending: number;
11788
- } | null;
11789
- } | null;
10299
+ status: "active" | "inactive";
11790
10300
  }[];
11791
10301
  createdAt: string;
11792
10302
  systemSections: {
@@ -11989,94 +10499,39 @@ export interface operations {
11989
10499
  id?: string | null;
11990
10500
  name: string;
11991
10501
  locked?: boolean | null;
11992
- /** @enum {string|null} */
11993
- visible?: "all" | "manager" | "none" | null;
11994
- columns: ({
11995
- id?: string | null;
11996
- name: string;
11997
- locked?: boolean | null;
11998
- /** @enum {string|null} */
11999
- visible?: "all" | "manager" | "none" | null;
12000
- /** @enum {string} */
12001
- type: "field";
12002
- value: string;
12003
- } | {
12004
- id?: string | null;
12005
- name: string;
12006
- locked?: boolean | null;
12007
- /** @enum {string|null} */
12008
- visible?: "all" | "manager" | "none" | null;
12009
- /** @enum {string} */
12010
- type: "accounts";
12011
- value: string[];
12012
- })[];
12013
- }[];
12014
- id: string;
12015
- activeListings: {
12016
- id: string;
12017
- name?: string | null;
12018
- }[];
12019
- linkedAccounts: {
12020
- name: string;
12021
- /** @enum {string|null} */
12022
- status?: "active" | "inactive" | null;
12023
- /** @enum {string} */
12024
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
12025
- id: string;
12026
- offsetAccount?: {
12027
- id: string;
12028
- name: string;
12029
- } | null;
12030
- 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")[];
12031
- category?: {
12032
- id: string;
12033
- name: string;
12034
- /** @enum {string|null} */
12035
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
12036
- } | null;
12037
- banking?: {
12038
- /** @enum {string|null} */
12039
- category?: "trust" | "operating" | "external" | null;
12040
- /** @enum {string|null} */
12041
- type?: "deposit" | "creditCard" | null;
12042
- last4?: string | null;
12043
- currency?: string | null;
12044
- connections: {
12045
- id: string;
12046
- name: string;
12047
- connection?: {
12048
- id: string;
12049
- icon?: string | null;
12050
- } | null;
12051
- /** @enum {string|null} */
12052
- status?: "active" | "inactive" | null;
12053
- currentSync?: {
12054
- /** @enum {string} */
12055
- status: "queued" | "started" | "completed" | "failed" | "canceled";
12056
- createdAt: string;
12057
- updatedAt: string;
12058
- message?: string | null;
12059
- } | null;
12060
- source?: {
12061
- /** Format: uuid */
12062
- id: string;
12063
- type: string;
12064
- /** @enum {string|null} */
12065
- status?: "active" | "inactive" | null;
12066
- } | null;
12067
- }[];
12068
- bankRecords: {
12069
- reconciled: number;
12070
- unreconciled: number;
12071
- total: number;
12072
- latestCreatedAt?: string | null;
12073
- };
12074
- balance?: {
12075
- openingDate?: string | null;
12076
- opening: number;
12077
- ending: number;
12078
- } | null;
12079
- } | null;
10502
+ /** @enum {string|null} */
10503
+ visible?: "all" | "manager" | "none" | null;
10504
+ columns: ({
10505
+ id?: string | null;
10506
+ name: string;
10507
+ locked?: boolean | null;
10508
+ /** @enum {string|null} */
10509
+ visible?: "all" | "manager" | "none" | null;
10510
+ /** @enum {string} */
10511
+ type: "field";
10512
+ value: string;
10513
+ } | {
10514
+ id?: string | null;
10515
+ name: string;
10516
+ locked?: boolean | null;
10517
+ /** @enum {string|null} */
10518
+ visible?: "all" | "manager" | "none" | null;
10519
+ /** @enum {string} */
10520
+ type: "accounts";
10521
+ value: string[];
10522
+ })[];
10523
+ }[];
10524
+ id: string;
10525
+ activeListings: {
10526
+ id: string;
10527
+ name?: string | null;
10528
+ }[];
10529
+ linkedAccounts: {
10530
+ id: string;
10531
+ name: string;
10532
+ uniqueRef?: string | null;
10533
+ /** @enum {string} */
10534
+ status: "active" | "inactive";
12080
10535
  }[];
12081
10536
  createdAt: string;
12082
10537
  systemSections: {
@@ -12228,66 +10683,11 @@ export interface operations {
12228
10683
  name?: string | null;
12229
10684
  }[];
12230
10685
  linkedAccounts: {
10686
+ id: string;
12231
10687
  name: string;
12232
- /** @enum {string|null} */
12233
- status?: "active" | "inactive" | null;
10688
+ uniqueRef?: string | null;
12234
10689
  /** @enum {string} */
12235
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
12236
- id: string;
12237
- offsetAccount?: {
12238
- id: string;
12239
- name: string;
12240
- } | null;
12241
- 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")[];
12242
- category?: {
12243
- id: string;
12244
- name: string;
12245
- /** @enum {string|null} */
12246
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
12247
- } | null;
12248
- banking?: {
12249
- /** @enum {string|null} */
12250
- category?: "trust" | "operating" | "external" | null;
12251
- /** @enum {string|null} */
12252
- type?: "deposit" | "creditCard" | null;
12253
- last4?: string | null;
12254
- currency?: string | null;
12255
- connections: {
12256
- id: string;
12257
- name: string;
12258
- connection?: {
12259
- id: string;
12260
- icon?: string | null;
12261
- } | null;
12262
- /** @enum {string|null} */
12263
- status?: "active" | "inactive" | null;
12264
- currentSync?: {
12265
- /** @enum {string} */
12266
- status: "queued" | "started" | "completed" | "failed" | "canceled";
12267
- createdAt: string;
12268
- updatedAt: string;
12269
- message?: string | null;
12270
- } | null;
12271
- source?: {
12272
- /** Format: uuid */
12273
- id: string;
12274
- type: string;
12275
- /** @enum {string|null} */
12276
- status?: "active" | "inactive" | null;
12277
- } | null;
12278
- }[];
12279
- bankRecords: {
12280
- reconciled: number;
12281
- unreconciled: number;
12282
- total: number;
12283
- latestCreatedAt?: string | null;
12284
- };
12285
- balance?: {
12286
- openingDate?: string | null;
12287
- opening: number;
12288
- ending: number;
12289
- } | null;
12290
- } | null;
10690
+ status: "active" | "inactive";
12291
10691
  }[];
12292
10692
  createdAt: string;
12293
10693
  systemSections: {
@@ -12510,66 +10910,11 @@ export interface operations {
12510
10910
  name?: string | null;
12511
10911
  }[];
12512
10912
  linkedAccounts: {
10913
+ id: string;
12513
10914
  name: string;
12514
- /** @enum {string|null} */
12515
- status?: "active" | "inactive" | null;
10915
+ uniqueRef?: string | null;
12516
10916
  /** @enum {string} */
12517
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
12518
- id: string;
12519
- offsetAccount?: {
12520
- id: string;
12521
- name: string;
12522
- } | null;
12523
- 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")[];
12524
- category?: {
12525
- id: string;
12526
- name: string;
12527
- /** @enum {string|null} */
12528
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
12529
- } | null;
12530
- banking?: {
12531
- /** @enum {string|null} */
12532
- category?: "trust" | "operating" | "external" | null;
12533
- /** @enum {string|null} */
12534
- type?: "deposit" | "creditCard" | null;
12535
- last4?: string | null;
12536
- currency?: string | null;
12537
- connections: {
12538
- id: string;
12539
- name: string;
12540
- connection?: {
12541
- id: string;
12542
- icon?: string | null;
12543
- } | null;
12544
- /** @enum {string|null} */
12545
- status?: "active" | "inactive" | null;
12546
- currentSync?: {
12547
- /** @enum {string} */
12548
- status: "queued" | "started" | "completed" | "failed" | "canceled";
12549
- createdAt: string;
12550
- updatedAt: string;
12551
- message?: string | null;
12552
- } | null;
12553
- source?: {
12554
- /** Format: uuid */
12555
- id: string;
12556
- type: string;
12557
- /** @enum {string|null} */
12558
- status?: "active" | "inactive" | null;
12559
- } | null;
12560
- }[];
12561
- bankRecords: {
12562
- reconciled: number;
12563
- unreconciled: number;
12564
- total: number;
12565
- latestCreatedAt?: string | null;
12566
- };
12567
- balance?: {
12568
- openingDate?: string | null;
12569
- opening: number;
12570
- ending: number;
12571
- } | null;
12572
- } | null;
10917
+ status: "active" | "inactive";
12573
10918
  }[];
12574
10919
  createdAt: string;
12575
10920
  systemSections: {
@@ -12795,6 +11140,9 @@ export interface operations {
12795
11140
  account?: {
12796
11141
  id: string;
12797
11142
  name: string;
11143
+ uniqueRef?: string | null;
11144
+ /** @enum {string} */
11145
+ status: "active" | "inactive";
12798
11146
  } | null;
12799
11147
  /** @enum {string} */
12800
11148
  party: "owners" | "manager";
@@ -12845,11 +11193,9 @@ export interface operations {
12845
11193
  account?: {
12846
11194
  id: string;
12847
11195
  name: string;
12848
- bankAccount?: {
12849
- /** Format: uuid */
12850
- id?: string | null;
12851
- name: string;
12852
- } | null;
11196
+ uniqueRef?: string | null;
11197
+ /** @enum {string} */
11198
+ status: "active" | "inactive";
12853
11199
  } | null;
12854
11200
  payment: {
12855
11201
  bankRecordIds: string[];
@@ -13292,66 +11638,11 @@ export interface operations {
13292
11638
  name?: string | null;
13293
11639
  }[];
13294
11640
  linkedAccounts: {
11641
+ id: string;
13295
11642
  name: string;
13296
- /** @enum {string|null} */
13297
- status?: "active" | "inactive" | null;
11643
+ uniqueRef?: string | null;
13298
11644
  /** @enum {string} */
13299
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
13300
- id: string;
13301
- offsetAccount?: {
13302
- id: string;
13303
- name: string;
13304
- } | null;
13305
- 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")[];
13306
- category?: {
13307
- id: string;
13308
- name: string;
13309
- /** @enum {string|null} */
13310
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
13311
- } | null;
13312
- banking?: {
13313
- /** @enum {string|null} */
13314
- category?: "trust" | "operating" | "external" | null;
13315
- /** @enum {string|null} */
13316
- type?: "deposit" | "creditCard" | null;
13317
- last4?: string | null;
13318
- currency?: string | null;
13319
- connections: {
13320
- id: string;
13321
- name: string;
13322
- connection?: {
13323
- id: string;
13324
- icon?: string | null;
13325
- } | null;
13326
- /** @enum {string|null} */
13327
- status?: "active" | "inactive" | null;
13328
- currentSync?: {
13329
- /** @enum {string} */
13330
- status: "queued" | "started" | "completed" | "failed" | "canceled";
13331
- createdAt: string;
13332
- updatedAt: string;
13333
- message?: string | null;
13334
- } | null;
13335
- source?: {
13336
- /** Format: uuid */
13337
- id: string;
13338
- type: string;
13339
- /** @enum {string|null} */
13340
- status?: "active" | "inactive" | null;
13341
- } | null;
13342
- }[];
13343
- bankRecords: {
13344
- reconciled: number;
13345
- unreconciled: number;
13346
- total: number;
13347
- latestCreatedAt?: string | null;
13348
- };
13349
- balance?: {
13350
- openingDate?: string | null;
13351
- opening: number;
13352
- ending: number;
13353
- } | null;
13354
- } | null;
11645
+ status: "active" | "inactive";
13355
11646
  }[];
13356
11647
  createdAt: string;
13357
11648
  systemSections: {
@@ -13800,66 +12091,11 @@ export interface operations {
13800
12091
  name?: string | null;
13801
12092
  }[];
13802
12093
  linkedAccounts: {
12094
+ id: string;
13803
12095
  name: string;
13804
- /** @enum {string|null} */
13805
- status?: "active" | "inactive" | null;
12096
+ uniqueRef?: string | null;
13806
12097
  /** @enum {string} */
13807
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
13808
- id: string;
13809
- offsetAccount?: {
13810
- id: string;
13811
- name: string;
13812
- } | null;
13813
- 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")[];
13814
- category?: {
13815
- id: string;
13816
- name: string;
13817
- /** @enum {string|null} */
13818
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
13819
- } | null;
13820
- banking?: {
13821
- /** @enum {string|null} */
13822
- category?: "trust" | "operating" | "external" | null;
13823
- /** @enum {string|null} */
13824
- type?: "deposit" | "creditCard" | null;
13825
- last4?: string | null;
13826
- currency?: string | null;
13827
- connections: {
13828
- id: string;
13829
- name: string;
13830
- connection?: {
13831
- id: string;
13832
- icon?: string | null;
13833
- } | null;
13834
- /** @enum {string|null} */
13835
- status?: "active" | "inactive" | null;
13836
- currentSync?: {
13837
- /** @enum {string} */
13838
- status: "queued" | "started" | "completed" | "failed" | "canceled";
13839
- createdAt: string;
13840
- updatedAt: string;
13841
- message?: string | null;
13842
- } | null;
13843
- source?: {
13844
- /** Format: uuid */
13845
- id: string;
13846
- type: string;
13847
- /** @enum {string|null} */
13848
- status?: "active" | "inactive" | null;
13849
- } | null;
13850
- }[];
13851
- bankRecords: {
13852
- reconciled: number;
13853
- unreconciled: number;
13854
- total: number;
13855
- latestCreatedAt?: string | null;
13856
- };
13857
- balance?: {
13858
- openingDate?: string | null;
13859
- opening: number;
13860
- ending: number;
13861
- } | null;
13862
- } | null;
12098
+ status: "active" | "inactive";
13863
12099
  }[];
13864
12100
  createdAt: string;
13865
12101
  systemSections: {
@@ -14317,66 +12553,11 @@ export interface operations {
14317
12553
  name?: string | null;
14318
12554
  }[];
14319
12555
  linkedAccounts: {
14320
- name: string;
14321
- /** @enum {string|null} */
14322
- status?: "active" | "inactive" | null;
14323
- /** @enum {string} */
14324
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
14325
- id: string;
14326
- offsetAccount?: {
14327
- id: string;
14328
- name: string;
14329
- } | null;
14330
- 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")[];
14331
- category?: {
14332
- id: string;
14333
- name: string;
14334
- /** @enum {string|null} */
14335
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
14336
- } | null;
14337
- banking?: {
14338
- /** @enum {string|null} */
14339
- category?: "trust" | "operating" | "external" | null;
14340
- /** @enum {string|null} */
14341
- type?: "deposit" | "creditCard" | null;
14342
- last4?: string | null;
14343
- currency?: string | null;
14344
- connections: {
14345
- id: string;
14346
- name: string;
14347
- connection?: {
14348
- id: string;
14349
- icon?: string | null;
14350
- } | null;
14351
- /** @enum {string|null} */
14352
- status?: "active" | "inactive" | null;
14353
- currentSync?: {
14354
- /** @enum {string} */
14355
- status: "queued" | "started" | "completed" | "failed" | "canceled";
14356
- createdAt: string;
14357
- updatedAt: string;
14358
- message?: string | null;
14359
- } | null;
14360
- source?: {
14361
- /** Format: uuid */
14362
- id: string;
14363
- type: string;
14364
- /** @enum {string|null} */
14365
- status?: "active" | "inactive" | null;
14366
- } | null;
14367
- }[];
14368
- bankRecords: {
14369
- reconciled: number;
14370
- unreconciled: number;
14371
- total: number;
14372
- latestCreatedAt?: string | null;
14373
- };
14374
- balance?: {
14375
- openingDate?: string | null;
14376
- opening: number;
14377
- ending: number;
14378
- } | null;
14379
- } | null;
12556
+ id: string;
12557
+ name: string;
12558
+ uniqueRef?: string | null;
12559
+ /** @enum {string} */
12560
+ status: "active" | "inactive";
14380
12561
  }[];
14381
12562
  createdAt: string;
14382
12563
  systemSections: {
@@ -15163,66 +13344,11 @@ export interface operations {
15163
13344
  name?: string | null;
15164
13345
  }[];
15165
13346
  linkedAccounts: {
13347
+ id: string;
15166
13348
  name: string;
15167
- /** @enum {string|null} */
15168
- status?: "active" | "inactive" | null;
13349
+ uniqueRef?: string | null;
15169
13350
  /** @enum {string} */
15170
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
15171
- id: string;
15172
- offsetAccount?: {
15173
- id: string;
15174
- name: string;
15175
- } | null;
15176
- 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")[];
15177
- category?: {
15178
- id: string;
15179
- name: string;
15180
- /** @enum {string|null} */
15181
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
15182
- } | null;
15183
- banking?: {
15184
- /** @enum {string|null} */
15185
- category?: "trust" | "operating" | "external" | null;
15186
- /** @enum {string|null} */
15187
- type?: "deposit" | "creditCard" | null;
15188
- last4?: string | null;
15189
- currency?: string | null;
15190
- connections: {
15191
- id: string;
15192
- name: string;
15193
- connection?: {
15194
- id: string;
15195
- icon?: string | null;
15196
- } | null;
15197
- /** @enum {string|null} */
15198
- status?: "active" | "inactive" | null;
15199
- currentSync?: {
15200
- /** @enum {string} */
15201
- status: "queued" | "started" | "completed" | "failed" | "canceled";
15202
- createdAt: string;
15203
- updatedAt: string;
15204
- message?: string | null;
15205
- } | null;
15206
- source?: {
15207
- /** Format: uuid */
15208
- id: string;
15209
- type: string;
15210
- /** @enum {string|null} */
15211
- status?: "active" | "inactive" | null;
15212
- } | null;
15213
- }[];
15214
- bankRecords: {
15215
- reconciled: number;
15216
- unreconciled: number;
15217
- total: number;
15218
- latestCreatedAt?: string | null;
15219
- };
15220
- balance?: {
15221
- openingDate?: string | null;
15222
- opening: number;
15223
- ending: number;
15224
- } | null;
15225
- } | null;
13351
+ status: "active" | "inactive";
15226
13352
  }[];
15227
13353
  createdAt: string;
15228
13354
  systemSections: {
@@ -15535,6 +13661,9 @@ export interface operations {
15535
13661
  account?: {
15536
13662
  id: string;
15537
13663
  name: string;
13664
+ uniqueRef?: string | null;
13665
+ /** @enum {string} */
13666
+ status: "active" | "inactive";
15538
13667
  } | null;
15539
13668
  /** @enum {string} */
15540
13669
  party: "owners" | "manager";
@@ -15585,11 +13714,9 @@ export interface operations {
15585
13714
  account?: {
15586
13715
  id: string;
15587
13716
  name: string;
15588
- bankAccount?: {
15589
- /** Format: uuid */
15590
- id?: string | null;
15591
- name: string;
15592
- } | null;
13717
+ uniqueRef?: string | null;
13718
+ /** @enum {string} */
13719
+ status: "active" | "inactive";
15593
13720
  } | null;
15594
13721
  payment: {
15595
13722
  bankRecordIds: string[];
@@ -15987,6 +14114,9 @@ export interface operations {
15987
14114
  account?: {
15988
14115
  id: string;
15989
14116
  name: string;
14117
+ uniqueRef?: string | null;
14118
+ /** @enum {string} */
14119
+ status: "active" | "inactive";
15990
14120
  } | null;
15991
14121
  /** @enum {string} */
15992
14122
  party: "owners" | "manager";
@@ -16037,11 +14167,9 @@ export interface operations {
16037
14167
  account?: {
16038
14168
  id: string;
16039
14169
  name: string;
16040
- bankAccount?: {
16041
- /** Format: uuid */
16042
- id?: string | null;
16043
- name: string;
16044
- } | null;
14170
+ uniqueRef?: string | null;
14171
+ /** @enum {string} */
14172
+ status: "active" | "inactive";
16045
14173
  } | null;
16046
14174
  payment: {
16047
14175
  bankRecordIds: string[];
@@ -16166,11 +14294,9 @@ export interface operations {
16166
14294
  account?: {
16167
14295
  id: string;
16168
14296
  name: string;
16169
- bankAccount?: {
16170
- /** Format: uuid */
16171
- id?: string | null;
16172
- name: string;
16173
- } | null;
14297
+ uniqueRef?: string | null;
14298
+ /** @enum {string} */
14299
+ status: "active" | "inactive";
16174
14300
  } | null;
16175
14301
  contact?: {
16176
14302
  /** Format: uuid */
@@ -16222,6 +14348,9 @@ export interface operations {
16222
14348
  account?: {
16223
14349
  id: string;
16224
14350
  name: string;
14351
+ uniqueRef?: string | null;
14352
+ /** @enum {string} */
14353
+ status: "active" | "inactive";
16225
14354
  } | null;
16226
14355
  /** @enum {string} */
16227
14356
  party: "owners" | "manager";
@@ -16395,11 +14524,9 @@ export interface operations {
16395
14524
  account?: {
16396
14525
  id: string;
16397
14526
  name: string;
16398
- bankAccount?: {
16399
- /** Format: uuid */
16400
- id?: string | null;
16401
- name: string;
16402
- } | null;
14527
+ uniqueRef?: string | null;
14528
+ /** @enum {string} */
14529
+ status: "active" | "inactive";
16403
14530
  } | null;
16404
14531
  contact?: {
16405
14532
  /** Format: uuid */
@@ -16451,6 +14578,9 @@ export interface operations {
16451
14578
  account?: {
16452
14579
  id: string;
16453
14580
  name: string;
14581
+ uniqueRef?: string | null;
14582
+ /** @enum {string} */
14583
+ status: "active" | "inactive";
16454
14584
  } | null;
16455
14585
  /** @enum {string} */
16456
14586
  party: "owners" | "manager";
@@ -16668,11 +14798,9 @@ export interface operations {
16668
14798
  account?: {
16669
14799
  id: string;
16670
14800
  name: string;
16671
- bankAccount?: {
16672
- /** Format: uuid */
16673
- id?: string | null;
16674
- name: string;
16675
- } | null;
14801
+ uniqueRef?: string | null;
14802
+ /** @enum {string} */
14803
+ status: "active" | "inactive";
16676
14804
  } | null;
16677
14805
  contact?: {
16678
14806
  /** Format: uuid */
@@ -16724,6 +14852,9 @@ export interface operations {
16724
14852
  account?: {
16725
14853
  id: string;
16726
14854
  name: string;
14855
+ uniqueRef?: string | null;
14856
+ /** @enum {string} */
14857
+ status: "active" | "inactive";
16727
14858
  } | null;
16728
14859
  /** @enum {string} */
16729
14860
  party: "owners" | "manager";
@@ -16903,11 +15034,9 @@ export interface operations {
16903
15034
  account?: {
16904
15035
  id: string;
16905
15036
  name: string;
16906
- bankAccount?: {
16907
- /** Format: uuid */
16908
- id?: string | null;
16909
- name: string;
16910
- } | null;
15037
+ uniqueRef?: string | null;
15038
+ /** @enum {string} */
15039
+ status: "active" | "inactive";
16911
15040
  } | null;
16912
15041
  contact?: {
16913
15042
  /** Format: uuid */
@@ -16959,6 +15088,9 @@ export interface operations {
16959
15088
  account?: {
16960
15089
  id: string;
16961
15090
  name: string;
15091
+ uniqueRef?: string | null;
15092
+ /** @enum {string} */
15093
+ status: "active" | "inactive";
16962
15094
  } | null;
16963
15095
  /** @enum {string} */
16964
15096
  party: "owners" | "manager";
@@ -17149,6 +15281,9 @@ export interface operations {
17149
15281
  account?: {
17150
15282
  id: string;
17151
15283
  name: string;
15284
+ uniqueRef?: string | null;
15285
+ /** @enum {string} */
15286
+ status: "active" | "inactive";
17152
15287
  } | null;
17153
15288
  /** @enum {string} */
17154
15289
  party: "owners" | "manager";
@@ -17199,11 +15334,9 @@ export interface operations {
17199
15334
  account?: {
17200
15335
  id: string;
17201
15336
  name: string;
17202
- bankAccount?: {
17203
- /** Format: uuid */
17204
- id?: string | null;
17205
- name: string;
17206
- } | null;
15337
+ uniqueRef?: string | null;
15338
+ /** @enum {string} */
15339
+ status: "active" | "inactive";
17207
15340
  } | null;
17208
15341
  payment: {
17209
15342
  bankRecordIds: string[];
@@ -17424,6 +15557,9 @@ export interface operations {
17424
15557
  account?: {
17425
15558
  id: string;
17426
15559
  name: string;
15560
+ uniqueRef?: string | null;
15561
+ /** @enum {string} */
15562
+ status: "active" | "inactive";
17427
15563
  } | null;
17428
15564
  /** @enum {string} */
17429
15565
  party: "owners" | "manager";
@@ -17474,11 +15610,9 @@ export interface operations {
17474
15610
  account?: {
17475
15611
  id: string;
17476
15612
  name: string;
17477
- bankAccount?: {
17478
- /** Format: uuid */
17479
- id?: string | null;
17480
- name: string;
17481
- } | null;
15613
+ uniqueRef?: string | null;
15614
+ /** @enum {string} */
15615
+ status: "active" | "inactive";
17482
15616
  } | null;
17483
15617
  payment: {
17484
15618
  bankRecordIds: string[];
@@ -17708,6 +15842,9 @@ export interface operations {
17708
15842
  account?: {
17709
15843
  id: string;
17710
15844
  name: string;
15845
+ uniqueRef?: string | null;
15846
+ /** @enum {string} */
15847
+ status: "active" | "inactive";
17711
15848
  } | null;
17712
15849
  /** @enum {string} */
17713
15850
  party: "owners" | "manager";
@@ -17758,11 +15895,9 @@ export interface operations {
17758
15895
  account?: {
17759
15896
  id: string;
17760
15897
  name: string;
17761
- bankAccount?: {
17762
- /** Format: uuid */
17763
- id?: string | null;
17764
- name: string;
17765
- } | null;
15898
+ uniqueRef?: string | null;
15899
+ /** @enum {string} */
15900
+ status: "active" | "inactive";
17766
15901
  } | null;
17767
15902
  payment: {
17768
15903
  bankRecordIds: string[];
@@ -17989,6 +16124,9 @@ export interface operations {
17989
16124
  account?: {
17990
16125
  id: string;
17991
16126
  name: string;
16127
+ uniqueRef?: string | null;
16128
+ /** @enum {string} */
16129
+ status: "active" | "inactive";
17992
16130
  } | null;
17993
16131
  /** @enum {string} */
17994
16132
  party: "owners" | "manager";
@@ -18039,11 +16177,9 @@ export interface operations {
18039
16177
  account?: {
18040
16178
  id: string;
18041
16179
  name: string;
18042
- bankAccount?: {
18043
- /** Format: uuid */
18044
- id?: string | null;
18045
- name: string;
18046
- } | null;
16180
+ uniqueRef?: string | null;
16181
+ /** @enum {string} */
16182
+ status: "active" | "inactive";
18047
16183
  } | null;
18048
16184
  payment: {
18049
16185
  bankRecordIds: string[];
@@ -18190,6 +16326,9 @@ export interface operations {
18190
16326
  account?: {
18191
16327
  id: string;
18192
16328
  name: string;
16329
+ uniqueRef?: string | null;
16330
+ /** @enum {string} */
16331
+ status: "active" | "inactive";
18193
16332
  } | null;
18194
16333
  /** @enum {string} */
18195
16334
  party: "owners" | "manager";
@@ -18240,11 +16379,9 @@ export interface operations {
18240
16379
  account?: {
18241
16380
  id: string;
18242
16381
  name: string;
18243
- bankAccount?: {
18244
- /** Format: uuid */
18245
- id?: string | null;
18246
- name: string;
18247
- } | null;
16382
+ uniqueRef?: string | null;
16383
+ /** @enum {string} */
16384
+ status: "active" | "inactive";
18248
16385
  } | null;
18249
16386
  payment: {
18250
16387
  bankRecordIds: string[];
@@ -18463,6 +16600,9 @@ export interface operations {
18463
16600
  account?: {
18464
16601
  id: string;
18465
16602
  name: string;
16603
+ uniqueRef?: string | null;
16604
+ /** @enum {string} */
16605
+ status: "active" | "inactive";
18466
16606
  } | null;
18467
16607
  /** @enum {string} */
18468
16608
  party: "owners" | "manager";
@@ -18513,11 +16653,9 @@ export interface operations {
18513
16653
  account?: {
18514
16654
  id: string;
18515
16655
  name: string;
18516
- bankAccount?: {
18517
- /** Format: uuid */
18518
- id?: string | null;
18519
- name: string;
18520
- } | null;
16656
+ uniqueRef?: string | null;
16657
+ /** @enum {string} */
16658
+ status: "active" | "inactive";
18521
16659
  } | null;
18522
16660
  payment: {
18523
16661
  bankRecordIds: string[];
@@ -19287,6 +17425,9 @@ export interface operations {
19287
17425
  account?: {
19288
17426
  id: string;
19289
17427
  name: string;
17428
+ uniqueRef?: string | null;
17429
+ /** @enum {string} */
17430
+ status: "active" | "inactive";
19290
17431
  } | null;
19291
17432
  /** @enum {string} */
19292
17433
  party: "owners" | "manager";
@@ -19337,11 +17478,9 @@ export interface operations {
19337
17478
  account?: {
19338
17479
  id: string;
19339
17480
  name: string;
19340
- bankAccount?: {
19341
- /** Format: uuid */
19342
- id?: string | null;
19343
- name: string;
19344
- } | null;
17481
+ uniqueRef?: string | null;
17482
+ /** @enum {string} */
17483
+ status: "active" | "inactive";
19345
17484
  } | null;
19346
17485
  payment: {
19347
17486
  bankRecordIds: string[];
@@ -19487,6 +17626,9 @@ export interface operations {
19487
17626
  offsetAccount?: {
19488
17627
  id: string;
19489
17628
  name: string;
17629
+ uniqueRef?: string | null;
17630
+ /** @enum {string} */
17631
+ status: "active" | "inactive";
19490
17632
  } | null;
19491
17633
  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")[];
19492
17634
  category?: {
@@ -19638,6 +17780,9 @@ export interface operations {
19638
17780
  offsetAccount?: {
19639
17781
  id: string;
19640
17782
  name: string;
17783
+ uniqueRef?: string | null;
17784
+ /** @enum {string} */
17785
+ status: "active" | "inactive";
19641
17786
  } | null;
19642
17787
  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")[];
19643
17788
  category?: {
@@ -19850,6 +17995,9 @@ export interface operations {
19850
17995
  offsetAccount?: {
19851
17996
  id: string;
19852
17997
  name: string;
17998
+ uniqueRef?: string | null;
17999
+ /** @enum {string} */
18000
+ status: "active" | "inactive";
19853
18001
  } | null;
19854
18002
  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")[];
19855
18003
  category?: {
@@ -20009,6 +18157,9 @@ export interface operations {
20009
18157
  offsetAccount?: {
20010
18158
  id: string;
20011
18159
  name: string;
18160
+ uniqueRef?: string | null;
18161
+ /** @enum {string} */
18162
+ status: "active" | "inactive";
20012
18163
  } | null;
20013
18164
  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")[];
20014
18165
  category?: {
@@ -20675,11 +18826,9 @@ export interface operations {
20675
18826
  account?: {
20676
18827
  id: string;
20677
18828
  name: string;
20678
- bankAccount?: {
20679
- /** Format: uuid */
20680
- id?: string | null;
20681
- name: string;
20682
- } | null;
18829
+ uniqueRef?: string | null;
18830
+ /** @enum {string} */
18831
+ status: "active" | "inactive";
20683
18832
  } | null;
20684
18833
  date: string;
20685
18834
  description: string;
@@ -20922,11 +19071,9 @@ export interface operations {
20922
19071
  account?: {
20923
19072
  id: string;
20924
19073
  name: string;
20925
- bankAccount?: {
20926
- /** Format: uuid */
20927
- id?: string | null;
20928
- name: string;
20929
- } | null;
19074
+ uniqueRef?: string | null;
19075
+ /** @enum {string} */
19076
+ status: "active" | "inactive";
20930
19077
  } | null;
20931
19078
  date: string;
20932
19079
  description: string;
@@ -22100,15 +20247,106 @@ export interface operations {
22100
20247
  "application/json": components["schemas"]["error.FORBIDDEN"];
22101
20248
  };
22102
20249
  };
22103
- /** @description Not found */
22104
- 404: {
22105
- headers: {
22106
- [name: string]: unknown;
22107
- };
22108
- content: {
22109
- "application/json": components["schemas"]["error.NOT_FOUND"];
22110
- };
22111
- };
20250
+ /** @description Not found */
20251
+ 404: {
20252
+ headers: {
20253
+ [name: string]: unknown;
20254
+ };
20255
+ content: {
20256
+ "application/json": components["schemas"]["error.NOT_FOUND"];
20257
+ };
20258
+ };
20259
+ /** @description Internal server error */
20260
+ 500: {
20261
+ headers: {
20262
+ [name: string]: unknown;
20263
+ };
20264
+ content: {
20265
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
20266
+ };
20267
+ };
20268
+ };
20269
+ };
20270
+ extract: {
20271
+ parameters: {
20272
+ query?: never;
20273
+ header?: {
20274
+ "X-Team-Id"?: string;
20275
+ };
20276
+ path?: never;
20277
+ cookie?: never;
20278
+ };
20279
+ requestBody: {
20280
+ content: {
20281
+ "application/json": {
20282
+ isInitial?: boolean;
20283
+ connections: {
20284
+ /** Format: uuid */
20285
+ connectionId: string;
20286
+ params?: unknown;
20287
+ type?: string;
20288
+ range?: {
20289
+ start?: string;
20290
+ end?: string;
20291
+ };
20292
+ forceUpdate?: boolean;
20293
+ }[];
20294
+ };
20295
+ };
20296
+ };
20297
+ responses: {
20298
+ /** @description Successful response */
20299
+ 200: {
20300
+ headers: {
20301
+ [name: string]: unknown;
20302
+ };
20303
+ content: {
20304
+ "application/json": {
20305
+ data: {
20306
+ /** Format: uuid */
20307
+ runId: string;
20308
+ /** Format: uuid */
20309
+ workflowId: string;
20310
+ /** Format: uuid */
20311
+ taskId: string;
20312
+ /** Format: uuid */
20313
+ syncId: string;
20314
+ data?: unknown;
20315
+ error?: {
20316
+ message: string;
20317
+ error?: string;
20318
+ };
20319
+ }[];
20320
+ };
20321
+ };
20322
+ };
20323
+ /** @description Invalid input data */
20324
+ 400: {
20325
+ headers: {
20326
+ [name: string]: unknown;
20327
+ };
20328
+ content: {
20329
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
20330
+ };
20331
+ };
20332
+ /** @description Authorization not provided */
20333
+ 401: {
20334
+ headers: {
20335
+ [name: string]: unknown;
20336
+ };
20337
+ content: {
20338
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
20339
+ };
20340
+ };
20341
+ /** @description Insufficient access */
20342
+ 403: {
20343
+ headers: {
20344
+ [name: string]: unknown;
20345
+ };
20346
+ content: {
20347
+ "application/json": components["schemas"]["error.FORBIDDEN"];
20348
+ };
20349
+ };
22112
20350
  /** @description Internal server error */
22113
20351
  500: {
22114
20352
  headers: {
@@ -23257,66 +21495,11 @@ export interface operations {
23257
21495
  [key: string]: unknown;
23258
21496
  } | null;
23259
21497
  account?: {
21498
+ id: string;
23260
21499
  name: string;
23261
- /** @enum {string|null} */
23262
- status?: "active" | "inactive" | null;
21500
+ uniqueRef?: string | null;
23263
21501
  /** @enum {string} */
23264
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
23265
- id: string;
23266
- offsetAccount?: {
23267
- id: string;
23268
- name: string;
23269
- } | null;
23270
- 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")[];
23271
- category?: {
23272
- id: string;
23273
- name: string;
23274
- /** @enum {string|null} */
23275
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
23276
- } | null;
23277
- banking?: {
23278
- /** @enum {string|null} */
23279
- category?: "trust" | "operating" | "external" | null;
23280
- /** @enum {string|null} */
23281
- type?: "deposit" | "creditCard" | null;
23282
- last4?: string | null;
23283
- currency?: string | null;
23284
- connections: {
23285
- id: string;
23286
- name: string;
23287
- connection?: {
23288
- id: string;
23289
- icon?: string | null;
23290
- } | null;
23291
- /** @enum {string|null} */
23292
- status?: "active" | "inactive" | null;
23293
- currentSync?: {
23294
- /** @enum {string} */
23295
- status: "queued" | "started" | "completed" | "failed" | "canceled";
23296
- createdAt: string;
23297
- updatedAt: string;
23298
- message?: string | null;
23299
- } | null;
23300
- source?: {
23301
- /** Format: uuid */
23302
- id: string;
23303
- type: string;
23304
- /** @enum {string|null} */
23305
- status?: "active" | "inactive" | null;
23306
- } | null;
23307
- }[];
23308
- bankRecords: {
23309
- reconciled: number;
23310
- unreconciled: number;
23311
- total: number;
23312
- latestCreatedAt?: string | null;
23313
- };
23314
- balance?: {
23315
- openingDate?: string | null;
23316
- opening: number;
23317
- ending: number;
23318
- } | null;
23319
- } | null;
21502
+ status: "active" | "inactive";
23320
21503
  } | null;
23321
21504
  isExcluded?: boolean | null;
23322
21505
  }[];
@@ -23334,66 +21517,11 @@ export interface operations {
23334
21517
  /** @enum {string|null} */
23335
21518
  party?: "owners" | "manager" | null;
23336
21519
  account?: {
21520
+ id: string;
23337
21521
  name: string;
23338
- /** @enum {string|null} */
23339
- status?: "active" | "inactive" | null;
21522
+ uniqueRef?: string | null;
23340
21523
  /** @enum {string} */
23341
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
23342
- id: string;
23343
- offsetAccount?: {
23344
- id: string;
23345
- name: string;
23346
- } | null;
23347
- 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")[];
23348
- category?: {
23349
- id: string;
23350
- name: string;
23351
- /** @enum {string|null} */
23352
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
23353
- } | null;
23354
- banking?: {
23355
- /** @enum {string|null} */
23356
- category?: "trust" | "operating" | "external" | null;
23357
- /** @enum {string|null} */
23358
- type?: "deposit" | "creditCard" | null;
23359
- last4?: string | null;
23360
- currency?: string | null;
23361
- connections: {
23362
- id: string;
23363
- name: string;
23364
- connection?: {
23365
- id: string;
23366
- icon?: string | null;
23367
- } | null;
23368
- /** @enum {string|null} */
23369
- status?: "active" | "inactive" | null;
23370
- currentSync?: {
23371
- /** @enum {string} */
23372
- status: "queued" | "started" | "completed" | "failed" | "canceled";
23373
- createdAt: string;
23374
- updatedAt: string;
23375
- message?: string | null;
23376
- } | null;
23377
- source?: {
23378
- /** Format: uuid */
23379
- id: string;
23380
- type: string;
23381
- /** @enum {string|null} */
23382
- status?: "active" | "inactive" | null;
23383
- } | null;
23384
- }[];
23385
- bankRecords: {
23386
- reconciled: number;
23387
- unreconciled: number;
23388
- total: number;
23389
- latestCreatedAt?: string | null;
23390
- };
23391
- balance?: {
23392
- openingDate?: string | null;
23393
- opening: number;
23394
- ending: number;
23395
- } | null;
23396
- } | null;
21524
+ status: "active" | "inactive";
23397
21525
  } | null;
23398
21526
  recurringFee?: {
23399
21527
  id: string;
@@ -23634,26 +21762,39 @@ export interface operations {
23634
21762
  "application/json": {
23635
21763
  connectionId: string;
23636
21764
  institutionName: string;
23637
- auth: {
23638
- last_status_change: string;
23639
- status: string;
23640
- };
23641
- investments_updates: {
23642
- last_status_change: string;
23643
- status: string;
23644
- /** @enum {string|null} */
23645
- refresh_interval?: "NORMAL" | "STOPPED" | "DELAYED" | null;
23646
- };
23647
- item_logins: {
23648
- last_status_change: string;
23649
- status: string;
23650
- };
23651
- transactions_updates: {
23652
- last_status_change: string;
23653
- status: string;
23654
- /** @enum {string|null} */
23655
- refresh_interval?: "NORMAL" | "STOPPED" | "DELAYED" | null;
23656
- };
21765
+ issues: ({
21766
+ /** @enum {string} */
21767
+ code: "plaidHealthDegraded";
21768
+ /** @enum {string} */
21769
+ severity: "warning";
21770
+ context: {
21771
+ /** @enum {string} */
21772
+ badge: "auth" | "item_logins" | "transactions_updates";
21773
+ title: string;
21774
+ /** @enum {string} */
21775
+ status: "DEGRADED";
21776
+ /** @enum {string} */
21777
+ refreshInterval?: "NORMAL" | "STOPPED" | "DELAYED";
21778
+ description?: string;
21779
+ statusDescription: string;
21780
+ };
21781
+ } | {
21782
+ /** @enum {string} */
21783
+ code: "plaidHealthDown";
21784
+ /** @enum {string} */
21785
+ severity: "error";
21786
+ context: {
21787
+ /** @enum {string} */
21788
+ badge: "auth" | "item_logins" | "transactions_updates";
21789
+ title: string;
21790
+ /** @enum {string} */
21791
+ status: "DOWN";
21792
+ /** @enum {string} */
21793
+ refreshInterval?: "NORMAL" | "STOPPED" | "DELAYED";
21794
+ description?: string;
21795
+ statusDescription: string;
21796
+ };
21797
+ })[];
23657
21798
  };
23658
21799
  };
23659
21800
  };
@@ -25578,7 +23719,7 @@ export interface operations {
25578
23719
  * @description Internal semantic type
25579
23720
  * @enum {string}
25580
23721
  */
25581
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
23722
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25582
23723
  /** @description Optional JSONB filter for internal data */
25583
23724
  filter?: string;
25584
23725
  };
@@ -25602,7 +23743,7 @@ export interface operations {
25602
23743
  * @description Semantic type of the setting value
25603
23744
  * @enum {string}
25604
23745
  */
25605
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
23746
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25606
23747
  /** @description Optional JSONB filter for available values */
25607
23748
  filter?: string;
25608
23749
  };
@@ -25699,7 +23840,7 @@ export interface operations {
25699
23840
  * @description Internal semantic type
25700
23841
  * @enum {string}
25701
23842
  */
25702
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
23843
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25703
23844
  /** @description Optional JSONB filter for internal data */
25704
23845
  filter?: string;
25705
23846
  };
@@ -25723,7 +23864,7 @@ export interface operations {
25723
23864
  * @description Semantic type of the setting value
25724
23865
  * @enum {string}
25725
23866
  */
25726
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
23867
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25727
23868
  /** @description Optional JSONB filter for available values */
25728
23869
  filter?: string;
25729
23870
  };
@@ -25823,7 +23964,7 @@ export interface operations {
25823
23964
  * @description Internal semantic type
25824
23965
  * @enum {string}
25825
23966
  */
25826
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
23967
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25827
23968
  /** @description Optional JSONB filter for internal data */
25828
23969
  filter?: string;
25829
23970
  };
@@ -25847,7 +23988,7 @@ export interface operations {
25847
23988
  * @description Semantic type of the setting value
25848
23989
  * @enum {string}
25849
23990
  */
25850
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
23991
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25851
23992
  /** @description Optional JSONB filter for available values */
25852
23993
  filter?: string;
25853
23994
  };
@@ -25934,7 +24075,7 @@ export interface operations {
25934
24075
  * @description Internal semantic type
25935
24076
  * @enum {string}
25936
24077
  */
25937
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24078
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25938
24079
  /** @description Optional JSONB filter for internal data */
25939
24080
  filter?: string;
25940
24081
  };
@@ -25958,7 +24099,7 @@ export interface operations {
25958
24099
  * @description Semantic type of the setting value
25959
24100
  * @enum {string}
25960
24101
  */
25961
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24102
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
25962
24103
  /** @description Optional JSONB filter for available values */
25963
24104
  filter?: string;
25964
24105
  };
@@ -25998,7 +24139,7 @@ export interface operations {
25998
24139
  * @description Internal semantic type
25999
24140
  * @enum {string}
26000
24141
  */
26001
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24142
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
26002
24143
  /** @description Optional JSONB filter for internal data */
26003
24144
  filter?: string;
26004
24145
  };
@@ -26022,7 +24163,7 @@ export interface operations {
26022
24163
  * @description Semantic type of the setting value
26023
24164
  * @enum {string}
26024
24165
  */
26025
- type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
24166
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "rate" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
26026
24167
  /** @description Optional JSONB filter for available values */
26027
24168
  filter?: string;
26028
24169
  };
@@ -26180,70 +24321,7 @@ export interface operations {
26180
24321
  description: string | null;
26181
24322
  /** @enum {string} */
26182
24323
  status: "active" | "inactive";
26183
- settings: {
26184
- /** Format: uuid */
26185
- id: string;
26186
- /** Format: uuid */
26187
- flowId: string;
26188
- /** Format: uuid */
26189
- connectionId: string;
26190
- settingKey: string;
26191
- title: string | null;
26192
- description: string | null;
26193
- type: string | null;
26194
- filter: string | null;
26195
- value: {
26196
- /** @enum {string} */
26197
- type: "account";
26198
- account: {
26199
- /** Format: uuid */
26200
- id: string;
26201
- title?: string | null;
26202
- type?: string | null;
26203
- };
26204
- } | {
26205
- /** @enum {string} */
26206
- type: "bookingChannel";
26207
- bookingChannel: {
26208
- /** Format: uuid */
26209
- id: string;
26210
- uniqueRef?: string | null;
26211
- icon?: string | null;
26212
- };
26213
- } | {
26214
- /** @enum {string} */
26215
- type: "contact";
26216
- contact: {
26217
- /** Format: uuid */
26218
- id: string;
26219
- name?: string | null;
26220
- email?: string | null;
26221
- type?: string | null;
26222
- };
26223
- } | {
26224
- /** @enum {string} */
26225
- type: "listing";
26226
- listing: {
26227
- /** Format: uuid */
26228
- id: string;
26229
- name?: string | null;
26230
- title?: string | null;
26231
- };
26232
- } | {
26233
- /** @enum {string} */
26234
- type: "source";
26235
- source: {
26236
- /** Format: uuid */
26237
- id: string;
26238
- description?: string | null;
26239
- code?: string | null;
26240
- };
26241
- } | {
26242
- /** @enum {string} */
26243
- type: "value";
26244
- value?: unknown;
26245
- };
26246
- }[];
24324
+ settings: components["schemas"]["FlowSettingItemsGet"];
26247
24325
  };
26248
24326
  };
26249
24327
  };
@@ -26330,70 +24408,7 @@ export interface operations {
26330
24408
  description: string | null;
26331
24409
  /** @enum {string} */
26332
24410
  status: "active" | "inactive";
26333
- settings: {
26334
- /** Format: uuid */
26335
- id: string;
26336
- /** Format: uuid */
26337
- flowId: string;
26338
- /** Format: uuid */
26339
- connectionId: string;
26340
- settingKey: string;
26341
- title: string | null;
26342
- description: string | null;
26343
- type: string | null;
26344
- filter: string | null;
26345
- value: {
26346
- /** @enum {string} */
26347
- type: "account";
26348
- account: {
26349
- /** Format: uuid */
26350
- id: string;
26351
- title?: string | null;
26352
- type?: string | null;
26353
- };
26354
- } | {
26355
- /** @enum {string} */
26356
- type: "bookingChannel";
26357
- bookingChannel: {
26358
- /** Format: uuid */
26359
- id: string;
26360
- uniqueRef?: string | null;
26361
- icon?: string | null;
26362
- };
26363
- } | {
26364
- /** @enum {string} */
26365
- type: "contact";
26366
- contact: {
26367
- /** Format: uuid */
26368
- id: string;
26369
- name?: string | null;
26370
- email?: string | null;
26371
- type?: string | null;
26372
- };
26373
- } | {
26374
- /** @enum {string} */
26375
- type: "listing";
26376
- listing: {
26377
- /** Format: uuid */
26378
- id: string;
26379
- name?: string | null;
26380
- title?: string | null;
26381
- };
26382
- } | {
26383
- /** @enum {string} */
26384
- type: "source";
26385
- source: {
26386
- /** Format: uuid */
26387
- id: string;
26388
- description?: string | null;
26389
- code?: string | null;
26390
- };
26391
- } | {
26392
- /** @enum {string} */
26393
- type: "value";
26394
- value?: unknown;
26395
- };
26396
- }[];
24411
+ settings: components["schemas"]["FlowSettingItemsGet"];
26397
24412
  };
26398
24413
  };
26399
24414
  };
@@ -26501,110 +24516,47 @@ export interface operations {
26501
24516
  404: {
26502
24517
  headers: {
26503
24518
  [name: string]: unknown;
26504
- };
26505
- content: {
26506
- "application/json": components["schemas"]["error.NOT_FOUND"];
26507
- };
26508
- };
26509
- /** @description Internal server error */
26510
- 500: {
26511
- headers: {
26512
- [name: string]: unknown;
26513
- };
26514
- content: {
26515
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
26516
- };
26517
- };
26518
- };
26519
- };
26520
- getFlowSettings: {
26521
- parameters: {
26522
- query?: {
26523
- limit?: number;
26524
- page?: number;
26525
- };
26526
- header?: {
26527
- "X-Team-Id"?: string;
26528
- };
26529
- path: {
26530
- id: string;
26531
- connectionId: string;
26532
- };
26533
- cookie?: never;
26534
- };
26535
- requestBody?: never;
26536
- responses: {
26537
- /** @description Successful response */
26538
- 200: {
26539
- headers: {
26540
- [name: string]: unknown;
26541
- };
26542
- content: {
26543
- "application/json": {
26544
- data: {
26545
- /** Format: uuid */
26546
- id: string;
26547
- /** Format: uuid */
26548
- flowId: string;
26549
- /** Format: uuid */
26550
- connectionId: string;
26551
- settingKey: string;
26552
- title: string | null;
26553
- description: string | null;
26554
- type: string | null;
26555
- filter: string | null;
26556
- value: {
26557
- /** @enum {string} */
26558
- type: "account";
26559
- account: {
26560
- /** Format: uuid */
26561
- id: string;
26562
- title?: string | null;
26563
- type?: string | null;
26564
- };
26565
- } | {
26566
- /** @enum {string} */
26567
- type: "bookingChannel";
26568
- bookingChannel: {
26569
- /** Format: uuid */
26570
- id: string;
26571
- uniqueRef?: string | null;
26572
- icon?: string | null;
26573
- };
26574
- } | {
26575
- /** @enum {string} */
26576
- type: "contact";
26577
- contact: {
26578
- /** Format: uuid */
26579
- id: string;
26580
- name?: string | null;
26581
- email?: string | null;
26582
- type?: string | null;
26583
- };
26584
- } | {
26585
- /** @enum {string} */
26586
- type: "listing";
26587
- listing: {
26588
- /** Format: uuid */
26589
- id: string;
26590
- name?: string | null;
26591
- title?: string | null;
26592
- };
26593
- } | {
26594
- /** @enum {string} */
26595
- type: "source";
26596
- source: {
26597
- /** Format: uuid */
26598
- id: string;
26599
- description?: string | null;
26600
- code?: string | null;
26601
- };
26602
- } | {
26603
- /** @enum {string} */
26604
- type: "value";
26605
- value?: unknown;
26606
- };
26607
- }[];
24519
+ };
24520
+ content: {
24521
+ "application/json": components["schemas"]["error.NOT_FOUND"];
24522
+ };
24523
+ };
24524
+ /** @description Internal server error */
24525
+ 500: {
24526
+ headers: {
24527
+ [name: string]: unknown;
24528
+ };
24529
+ content: {
24530
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24531
+ };
24532
+ };
24533
+ };
24534
+ };
24535
+ getFlowSettings: {
24536
+ parameters: {
24537
+ query?: {
24538
+ limit?: number;
24539
+ page?: number;
24540
+ };
24541
+ header?: {
24542
+ "X-Team-Id"?: string;
24543
+ };
24544
+ path: {
24545
+ id: string;
24546
+ connectionId: string;
24547
+ };
24548
+ cookie?: never;
24549
+ };
24550
+ requestBody?: never;
24551
+ responses: {
24552
+ /** @description Successful response */
24553
+ 200: {
24554
+ headers: {
24555
+ [name: string]: unknown;
24556
+ };
24557
+ content: {
24558
+ "application/json": {
24559
+ data: components["schemas"]["FlowSettingItemGet"][];
26608
24560
  pagination: {
26609
24561
  /** @default 100 */
26610
24562
  limit: number;
@@ -26791,70 +24743,7 @@ export interface operations {
26791
24743
  description: string | null;
26792
24744
  /** @enum {string} */
26793
24745
  status: "active" | "inactive";
26794
- settings: {
26795
- /** Format: uuid */
26796
- id: string;
26797
- /** Format: uuid */
26798
- flowId: string;
26799
- /** Format: uuid */
26800
- connectionId: string;
26801
- settingKey: string;
26802
- title: string | null;
26803
- description: string | null;
26804
- type: string | null;
26805
- filter: string | null;
26806
- value: {
26807
- /** @enum {string} */
26808
- type: "account";
26809
- account: {
26810
- /** Format: uuid */
26811
- id: string;
26812
- title?: string | null;
26813
- type?: string | null;
26814
- };
26815
- } | {
26816
- /** @enum {string} */
26817
- type: "bookingChannel";
26818
- bookingChannel: {
26819
- /** Format: uuid */
26820
- id: string;
26821
- uniqueRef?: string | null;
26822
- icon?: string | null;
26823
- };
26824
- } | {
26825
- /** @enum {string} */
26826
- type: "contact";
26827
- contact: {
26828
- /** Format: uuid */
26829
- id: string;
26830
- name?: string | null;
26831
- email?: string | null;
26832
- type?: string | null;
26833
- };
26834
- } | {
26835
- /** @enum {string} */
26836
- type: "listing";
26837
- listing: {
26838
- /** Format: uuid */
26839
- id: string;
26840
- name?: string | null;
26841
- title?: string | null;
26842
- };
26843
- } | {
26844
- /** @enum {string} */
26845
- type: "source";
26846
- source: {
26847
- /** Format: uuid */
26848
- id: string;
26849
- description?: string | null;
26850
- code?: string | null;
26851
- };
26852
- } | {
26853
- /** @enum {string} */
26854
- type: "value";
26855
- value?: unknown;
26856
- };
26857
- }[];
24746
+ settings: components["schemas"]["FlowSettingItemsPost"];
26858
24747
  };
26859
24748
  };
26860
24749
  };
@@ -26896,7 +24785,7 @@ export interface operations {
26896
24785
  };
26897
24786
  };
26898
24787
  };
26899
- getFlowMappings: {
24788
+ getFlowMapping: {
26900
24789
  parameters: {
26901
24790
  query?: {
26902
24791
  sourceId?: string;
@@ -26909,6 +24798,7 @@ export interface operations {
26909
24798
  path: {
26910
24799
  id: string;
26911
24800
  connectionId: string;
24801
+ mappingKey: string;
26912
24802
  };
26913
24803
  cookie?: never;
26914
24804
  };
@@ -26921,70 +24811,7 @@ export interface operations {
26921
24811
  };
26922
24812
  content: {
26923
24813
  "application/json": {
26924
- data: {
26925
- /** Format: uuid */
26926
- id: string;
26927
- /** Format: uuid */
26928
- flowId: string;
26929
- /** Format: uuid */
26930
- connectionId: string;
26931
- mappingKey: string;
26932
- /** Format: uuid */
26933
- sourceId: string;
26934
- title: string | null;
26935
- description: string | null;
26936
- value: {
26937
- /** @enum {string} */
26938
- type: "account";
26939
- account: {
26940
- /** Format: uuid */
26941
- id: string;
26942
- title?: string | null;
26943
- type?: string | null;
26944
- };
26945
- } | {
26946
- /** @enum {string} */
26947
- type: "bookingChannel";
26948
- bookingChannel: {
26949
- /** Format: uuid */
26950
- id: string;
26951
- uniqueRef?: string | null;
26952
- icon?: string | null;
26953
- };
26954
- } | {
26955
- /** @enum {string} */
26956
- type: "contact";
26957
- contact: {
26958
- /** Format: uuid */
26959
- id: string;
26960
- name?: string | null;
26961
- email?: string | null;
26962
- type?: string | null;
26963
- };
26964
- } | {
26965
- /** @enum {string} */
26966
- type: "listing";
26967
- listing: {
26968
- /** Format: uuid */
26969
- id: string;
26970
- name?: string | null;
26971
- title?: string | null;
26972
- };
26973
- } | {
26974
- /** @enum {string} */
26975
- type: "source";
26976
- source: {
26977
- /** Format: uuid */
26978
- id: string;
26979
- description?: string | null;
26980
- code?: string | null;
26981
- };
26982
- } | {
26983
- /** @enum {string} */
26984
- type: "value";
26985
- value?: unknown;
26986
- };
26987
- }[];
24814
+ data: components["schemas"]["FlowMappingItemGet"][];
26988
24815
  pagination: {
26989
24816
  /** @default 100 */
26990
24817
  limit: number;
@@ -27078,70 +24905,83 @@ export interface operations {
27078
24905
  };
27079
24906
  content: {
27080
24907
  "application/json": {
27081
- data: {
27082
- /** Format: uuid */
27083
- id: string;
27084
- /** Format: uuid */
27085
- flowId: string;
27086
- /** Format: uuid */
27087
- connectionId: string;
27088
- mappingKey: string;
27089
- /** Format: uuid */
27090
- sourceId: string;
27091
- title: string | null;
27092
- description: string | null;
27093
- value: {
27094
- /** @enum {string} */
27095
- type: "account";
27096
- account: {
27097
- /** Format: uuid */
27098
- id: string;
27099
- title?: string | null;
27100
- type?: string | null;
27101
- };
27102
- } | {
27103
- /** @enum {string} */
27104
- type: "bookingChannel";
27105
- bookingChannel: {
27106
- /** Format: uuid */
27107
- id: string;
27108
- uniqueRef?: string | null;
27109
- icon?: string | null;
27110
- };
27111
- } | {
27112
- /** @enum {string} */
27113
- type: "contact";
27114
- contact: {
27115
- /** Format: uuid */
27116
- id: string;
27117
- name?: string | null;
27118
- email?: string | null;
27119
- type?: string | null;
27120
- };
27121
- } | {
27122
- /** @enum {string} */
27123
- type: "listing";
27124
- listing: {
27125
- /** Format: uuid */
27126
- id: string;
27127
- name?: string | null;
27128
- title?: string | null;
27129
- };
27130
- } | {
27131
- /** @enum {string} */
27132
- type: "source";
27133
- source: {
27134
- /** Format: uuid */
27135
- id: string;
27136
- description?: string | null;
27137
- code?: string | null;
27138
- };
27139
- } | {
27140
- /** @enum {string} */
27141
- type: "value";
27142
- value?: unknown;
27143
- };
27144
- }[];
24908
+ data: components["schemas"]["FlowMappingItemPost"][];
24909
+ pagination: {
24910
+ /** @default 100 */
24911
+ limit: number;
24912
+ /** @default 1 */
24913
+ page: number;
24914
+ total: number;
24915
+ totalPage: number;
24916
+ nextPage?: number;
24917
+ };
24918
+ };
24919
+ };
24920
+ };
24921
+ /** @description Invalid input data */
24922
+ 400: {
24923
+ headers: {
24924
+ [name: string]: unknown;
24925
+ };
24926
+ content: {
24927
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
24928
+ };
24929
+ };
24930
+ /** @description Authorization not provided */
24931
+ 401: {
24932
+ headers: {
24933
+ [name: string]: unknown;
24934
+ };
24935
+ content: {
24936
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
24937
+ };
24938
+ };
24939
+ /** @description Insufficient access */
24940
+ 403: {
24941
+ headers: {
24942
+ [name: string]: unknown;
24943
+ };
24944
+ content: {
24945
+ "application/json": components["schemas"]["error.FORBIDDEN"];
24946
+ };
24947
+ };
24948
+ /** @description Internal server error */
24949
+ 500: {
24950
+ headers: {
24951
+ [name: string]: unknown;
24952
+ };
24953
+ content: {
24954
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24955
+ };
24956
+ };
24957
+ };
24958
+ };
24959
+ getFlowMappings: {
24960
+ parameters: {
24961
+ query?: {
24962
+ sourceId?: string;
24963
+ limit?: number;
24964
+ page?: number;
24965
+ };
24966
+ header?: {
24967
+ "X-Team-Id"?: string;
24968
+ };
24969
+ path: {
24970
+ id: string;
24971
+ connectionId: string;
24972
+ };
24973
+ cookie?: never;
24974
+ };
24975
+ requestBody?: never;
24976
+ responses: {
24977
+ /** @description Successful response */
24978
+ 200: {
24979
+ headers: {
24980
+ [name: string]: unknown;
24981
+ };
24982
+ content: {
24983
+ "application/json": {
24984
+ data: components["schemas"]["FlowMappingItemGet"][];
27145
24985
  pagination: {
27146
24986
  /** @default 100 */
27147
24987
  limit: number;
@@ -27181,6 +25021,15 @@ export interface operations {
27181
25021
  "application/json": components["schemas"]["error.FORBIDDEN"];
27182
25022
  };
27183
25023
  };
25024
+ /** @description Not found */
25025
+ 404: {
25026
+ headers: {
25027
+ [name: string]: unknown;
25028
+ };
25029
+ content: {
25030
+ "application/json": components["schemas"]["error.NOT_FOUND"];
25031
+ };
25032
+ };
27184
25033
  /** @description Internal server error */
27185
25034
  500: {
27186
25035
  headers: {