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