@vrplatform/api 1.2.33-rel.874 → 1.2.33-rel.891

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,89 @@ 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" | "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
+ /** Format: uuid */
2308
+ id: string;
2309
+ name: string;
2310
+ /**
2311
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2312
+ * @enum {string}
2313
+ */
2314
+ type: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date";
2315
+ };
2316
+ /** @description Collection of settings after mutation with normalized { id, name, type } value payloads. */
2317
+ FlowSettingItemsPost: components["schemas"]["FlowSettingItemPost"][];
2318
+ /** @description Setting representation returned from mutation routes with normalized { id, name, type } value payload. */
2319
+ FlowSettingItemPost: {
2320
+ /** Format: uuid */
2321
+ id: string;
2322
+ /** Format: uuid */
2323
+ flowId: string;
2324
+ /** Format: uuid */
2325
+ connectionId: string;
2326
+ settingKey: string;
2327
+ title: string | null;
2328
+ description: string | null;
2329
+ /**
2330
+ * @description Semantic type for mapping/setting entries (entities and primitive kinds).
2331
+ * @enum {string|null}
2332
+ */
2333
+ type?: "listing" | "account" | "booking_channel" | "contact_vendor" | "contact_owner" | "connection" | "value_number" | "value_percentage" | "value_string" | "value_currency" | "value_date" | null;
2334
+ filter: string | null;
2335
+ value: components["schemas"]["FlowMappingResolvedEntityValue"];
2336
+ };
2337
+ /** @description Mapping entry returned from GET routes with normalized { id, name, type } value payload. */
2338
+ FlowMappingItemGet: {
2339
+ /** Format: uuid */
2340
+ id: string;
2341
+ /** Format: uuid */
2342
+ flowId: string;
2343
+ /** Format: uuid */
2344
+ connectionId: string;
2345
+ mappingKey: string;
2346
+ /** Format: uuid */
2347
+ sourceId: string;
2348
+ title: string | null;
2349
+ description: string | null;
2350
+ value: components["schemas"]["FlowMappingResolvedEntityValue"];
2351
+ };
2352
+ /** @description Mapping entry returned from mutation routes with resolved entity payload. */
2353
+ FlowMappingItemPost: {
2354
+ /** Format: uuid */
2355
+ id: string;
2356
+ /** Format: uuid */
2357
+ flowId: string;
2358
+ /** Format: uuid */
2359
+ connectionId: string;
2360
+ mappingKey: string;
2361
+ /** Format: uuid */
2362
+ sourceId: string;
2363
+ title: string | null;
2364
+ description: string | null;
2365
+ value: components["schemas"]["FlowMappingResolvedEntityValue"];
2366
+ };
2266
2367
  };
2267
2368
  responses: never;
2268
2369
  parameters: never;
@@ -2327,66 +2428,11 @@ export interface operations {
2327
2428
  /** @enum {string|null} */
2328
2429
  status: "active" | "inactive" | null;
2329
2430
  account?: {
2431
+ id: string;
2330
2432
  name: string;
2331
- /** @enum {string|null} */
2332
- status?: "active" | "inactive" | null;
2433
+ uniqueRef?: string | null;
2333
2434
  /** @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;
2435
+ status: "active" | "inactive";
2390
2436
  } | null;
2391
2437
  source?: {
2392
2438
  /** Format: uuid */
@@ -2492,66 +2538,11 @@ export interface operations {
2492
2538
  /** @enum {string|null} */
2493
2539
  status: "active" | "inactive" | null;
2494
2540
  account?: {
2541
+ id: string;
2495
2542
  name: string;
2496
- /** @enum {string|null} */
2497
- status?: "active" | "inactive" | null;
2543
+ uniqueRef?: string | null;
2498
2544
  /** @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;
2545
+ status: "active" | "inactive";
2555
2546
  } | null;
2556
2547
  source?: {
2557
2548
  /** Format: uuid */
@@ -2937,66 +2928,11 @@ export interface operations {
2937
2928
  [key: string]: unknown;
2938
2929
  } | null;
2939
2930
  account?: {
2931
+ id: string;
2940
2932
  name: string;
2941
- /** @enum {string|null} */
2942
- status?: "active" | "inactive" | null;
2933
+ uniqueRef?: string | null;
2943
2934
  /** @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;
2935
+ status: "active" | "inactive";
3000
2936
  } | null;
3001
2937
  isExcluded?: boolean | null;
3002
2938
  }[];
@@ -3105,66 +3041,11 @@ export interface operations {
3105
3041
  [key: string]: unknown;
3106
3042
  } | null;
3107
3043
  account?: {
3044
+ id: string;
3108
3045
  name: string;
3109
- /** @enum {string|null} */
3110
- status?: "active" | "inactive" | null;
3046
+ uniqueRef?: string | null;
3111
3047
  /** @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;
3048
+ status: "active" | "inactive";
3168
3049
  } | null;
3169
3050
  isExcluded?: boolean | null;
3170
3051
  }[];
@@ -3313,66 +3194,11 @@ export interface operations {
3313
3194
  [key: string]: unknown;
3314
3195
  } | null;
3315
3196
  account?: {
3197
+ id: string;
3316
3198
  name: string;
3317
- /** @enum {string|null} */
3318
- status?: "active" | "inactive" | null;
3199
+ uniqueRef?: string | null;
3319
3200
  /** @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;
3201
+ status: "active" | "inactive";
3376
3202
  } | null;
3377
3203
  isExcluded?: boolean | null;
3378
3204
  }[];
@@ -3560,66 +3386,11 @@ export interface operations {
3560
3386
  [key: string]: unknown;
3561
3387
  } | null;
3562
3388
  account?: {
3389
+ id: string;
3563
3390
  name: string;
3564
- /** @enum {string|null} */
3565
- status?: "active" | "inactive" | null;
3391
+ uniqueRef?: string | null;
3566
3392
  /** @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;
3393
+ status: "active" | "inactive";
3623
3394
  } | null;
3624
3395
  isExcluded?: boolean | null;
3625
3396
  }[];
@@ -3778,66 +3549,11 @@ export interface operations {
3778
3549
  [key: string]: unknown;
3779
3550
  } | null;
3780
3551
  account?: {
3552
+ id: string;
3781
3553
  name: string;
3782
- /** @enum {string|null} */
3783
- status?: "active" | "inactive" | null;
3554
+ uniqueRef?: string | null;
3784
3555
  /** @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;
3556
+ status: "active" | "inactive";
3841
3557
  } | null;
3842
3558
  isExcluded?: boolean | null;
3843
3559
  }[];
@@ -4389,6 +4105,9 @@ export interface operations {
4389
4105
  account?: {
4390
4106
  id: string;
4391
4107
  name: string;
4108
+ uniqueRef?: string | null;
4109
+ /** @enum {string} */
4110
+ status: "active" | "inactive";
4392
4111
  /** @enum {string} */
4393
4112
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4394
4113
  } | null;
@@ -4408,11 +4127,9 @@ export interface operations {
4408
4127
  account?: {
4409
4128
  id: string;
4410
4129
  name: string;
4411
- bankAccount?: {
4412
- /** Format: uuid */
4413
- id?: string | null;
4414
- name: string;
4415
- } | null;
4130
+ uniqueRef?: string | null;
4131
+ /** @enum {string} */
4132
+ status: "active" | "inactive";
4416
4133
  } | null;
4417
4134
  date: string;
4418
4135
  description: string;
@@ -4500,66 +4217,11 @@ export interface operations {
4500
4217
  [key: string]: unknown;
4501
4218
  } | null;
4502
4219
  account?: {
4220
+ id: string;
4503
4221
  name: string;
4504
- /** @enum {string|null} */
4505
- status?: "active" | "inactive" | null;
4222
+ uniqueRef?: string | null;
4506
4223
  /** @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;
4224
+ status: "active" | "inactive";
4563
4225
  } | null;
4564
4226
  isExcluded?: boolean | null;
4565
4227
  }[];
@@ -4577,66 +4239,11 @@ export interface operations {
4577
4239
  /** @enum {string|null} */
4578
4240
  party?: "owners" | "manager" | null;
4579
4241
  account?: {
4242
+ id: string;
4580
4243
  name: string;
4581
- /** @enum {string|null} */
4582
- status?: "active" | "inactive" | null;
4244
+ uniqueRef?: string | null;
4583
4245
  /** @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;
4246
+ status: "active" | "inactive";
4640
4247
  } | null;
4641
4248
  recurringFee?: {
4642
4249
  id: string;
@@ -4876,6 +4483,9 @@ export interface operations {
4876
4483
  account?: {
4877
4484
  id: string;
4878
4485
  name: string;
4486
+ uniqueRef?: string | null;
4487
+ /** @enum {string} */
4488
+ status: "active" | "inactive";
4879
4489
  /** @enum {string} */
4880
4490
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4881
4491
  } | null;
@@ -4895,11 +4505,9 @@ export interface operations {
4895
4505
  account?: {
4896
4506
  id: string;
4897
4507
  name: string;
4898
- bankAccount?: {
4899
- /** Format: uuid */
4900
- id?: string | null;
4901
- name: string;
4902
- } | null;
4508
+ uniqueRef?: string | null;
4509
+ /** @enum {string} */
4510
+ status: "active" | "inactive";
4903
4511
  } | null;
4904
4512
  date: string;
4905
4513
  description: string;
@@ -4987,66 +4595,11 @@ export interface operations {
4987
4595
  [key: string]: unknown;
4988
4596
  } | null;
4989
4597
  account?: {
4598
+ id: string;
4990
4599
  name: string;
4991
- /** @enum {string|null} */
4992
- status?: "active" | "inactive" | null;
4600
+ uniqueRef?: string | null;
4993
4601
  /** @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;
4602
+ status: "active" | "inactive";
5050
4603
  } | null;
5051
4604
  isExcluded?: boolean | null;
5052
4605
  }[];
@@ -5064,66 +4617,11 @@ export interface operations {
5064
4617
  /** @enum {string|null} */
5065
4618
  party?: "owners" | "manager" | null;
5066
4619
  account?: {
4620
+ id: string;
5067
4621
  name: string;
5068
- /** @enum {string|null} */
5069
- status?: "active" | "inactive" | null;
4622
+ uniqueRef?: string | null;
5070
4623
  /** @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;
4624
+ status: "active" | "inactive";
5127
4625
  } | null;
5128
4626
  recurringFee?: {
5129
4627
  id: string;
@@ -5444,6 +4942,9 @@ export interface operations {
5444
4942
  account?: {
5445
4943
  id: string;
5446
4944
  name: string;
4945
+ uniqueRef?: string | null;
4946
+ /** @enum {string} */
4947
+ status: "active" | "inactive";
5447
4948
  /** @enum {string} */
5448
4949
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
5449
4950
  } | null;
@@ -5463,11 +4964,9 @@ export interface operations {
5463
4964
  account?: {
5464
4965
  id: string;
5465
4966
  name: string;
5466
- bankAccount?: {
5467
- /** Format: uuid */
5468
- id?: string | null;
5469
- name: string;
5470
- } | null;
4967
+ uniqueRef?: string | null;
4968
+ /** @enum {string} */
4969
+ status: "active" | "inactive";
5471
4970
  } | null;
5472
4971
  date: string;
5473
4972
  description: string;
@@ -5555,66 +5054,11 @@ export interface operations {
5555
5054
  [key: string]: unknown;
5556
5055
  } | null;
5557
5056
  account?: {
5057
+ id: string;
5558
5058
  name: string;
5559
- /** @enum {string|null} */
5560
- status?: "active" | "inactive" | null;
5059
+ uniqueRef?: string | null;
5561
5060
  /** @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;
5061
+ status: "active" | "inactive";
5618
5062
  } | null;
5619
5063
  isExcluded?: boolean | null;
5620
5064
  }[];
@@ -5632,66 +5076,11 @@ export interface operations {
5632
5076
  /** @enum {string|null} */
5633
5077
  party?: "owners" | "manager" | null;
5634
5078
  account?: {
5079
+ id: string;
5635
5080
  name: string;
5636
- /** @enum {string|null} */
5637
- status?: "active" | "inactive" | null;
5081
+ uniqueRef?: string | null;
5638
5082
  /** @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;
5083
+ status: "active" | "inactive";
5695
5084
  } | null;
5696
5085
  recurringFee?: {
5697
5086
  id: string;
@@ -5976,66 +5365,11 @@ export interface operations {
5976
5365
  [key: string]: unknown;
5977
5366
  } | null;
5978
5367
  account?: {
5368
+ id: string;
5979
5369
  name: string;
5980
- /** @enum {string|null} */
5981
- status?: "active" | "inactive" | null;
5370
+ uniqueRef?: string | null;
5982
5371
  /** @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;
5372
+ status: "active" | "inactive";
6039
5373
  } | null;
6040
5374
  isExcluded?: boolean | null;
6041
5375
  }[];
@@ -6280,6 +5614,9 @@ export interface operations {
6280
5614
  account?: {
6281
5615
  id: string;
6282
5616
  name: string;
5617
+ uniqueRef?: string | null;
5618
+ /** @enum {string} */
5619
+ status: "active" | "inactive";
6283
5620
  /** @enum {string} */
6284
5621
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
6285
5622
  } | null;
@@ -6299,11 +5636,9 @@ export interface operations {
6299
5636
  account?: {
6300
5637
  id: string;
6301
5638
  name: string;
6302
- bankAccount?: {
6303
- /** Format: uuid */
6304
- id?: string | null;
6305
- name: string;
6306
- } | null;
5639
+ uniqueRef?: string | null;
5640
+ /** @enum {string} */
5641
+ status: "active" | "inactive";
6307
5642
  } | null;
6308
5643
  date: string;
6309
5644
  description: string;
@@ -6391,66 +5726,11 @@ export interface operations {
6391
5726
  [key: string]: unknown;
6392
5727
  } | null;
6393
5728
  account?: {
5729
+ id: string;
6394
5730
  name: string;
6395
- /** @enum {string|null} */
6396
- status?: "active" | "inactive" | null;
5731
+ uniqueRef?: string | null;
6397
5732
  /** @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;
5733
+ status: "active" | "inactive";
6454
5734
  } | null;
6455
5735
  isExcluded?: boolean | null;
6456
5736
  }[];
@@ -6468,66 +5748,11 @@ export interface operations {
6468
5748
  /** @enum {string|null} */
6469
5749
  party?: "owners" | "manager" | null;
6470
5750
  account?: {
5751
+ id: string;
6471
5752
  name: string;
6472
- /** @enum {string|null} */
6473
- status?: "active" | "inactive" | null;
5753
+ uniqueRef?: string | null;
6474
5754
  /** @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;
5755
+ status: "active" | "inactive";
6531
5756
  } | null;
6532
5757
  recurringFee?: {
6533
5758
  id: string;
@@ -6601,7 +5826,7 @@ export interface operations {
6601
5826
  data: {
6602
5827
  /** Format: uuid */
6603
5828
  listingId: string;
6604
- /** @default 2025-10-29 */
5829
+ /** @default 2025-10-30 */
6605
5830
  startAt: string;
6606
5831
  endAt?: string | null;
6607
5832
  setListingInactive?: boolean | null;
@@ -6683,7 +5908,7 @@ export interface operations {
6683
5908
  "application/json": {
6684
5909
  /** Format: uuid */
6685
5910
  listingId: string;
6686
- /** @default 2025-10-29 */
5911
+ /** @default 2025-10-30 */
6687
5912
  startAt?: string;
6688
5913
  endAt?: string | null;
6689
5914
  members: {
@@ -6717,7 +5942,7 @@ export interface operations {
6717
5942
  "application/json": {
6718
5943
  /** Format: uuid */
6719
5944
  listingId: string;
6720
- /** @default 2025-10-29 */
5945
+ /** @default 2025-10-30 */
6721
5946
  startAt: string;
6722
5947
  endAt?: string | null;
6723
5948
  setListingInactive?: boolean | null;
@@ -6797,7 +6022,7 @@ export interface operations {
6797
6022
  "application/json": {
6798
6023
  /** Format: uuid */
6799
6024
  listingId: string;
6800
- /** @default 2025-10-29 */
6025
+ /** @default 2025-10-30 */
6801
6026
  startAt: string;
6802
6027
  endAt?: string | null;
6803
6028
  setListingInactive?: boolean | null;
@@ -6880,7 +6105,7 @@ export interface operations {
6880
6105
  "application/json": {
6881
6106
  /** Format: uuid */
6882
6107
  listingId?: string;
6883
- /** @default 2025-10-29 */
6108
+ /** @default 2025-10-30 */
6884
6109
  startAt?: string;
6885
6110
  endAt?: string | null;
6886
6111
  members?: {
@@ -6914,7 +6139,7 @@ export interface operations {
6914
6139
  "application/json": {
6915
6140
  /** Format: uuid */
6916
6141
  listingId: string;
6917
- /** @default 2025-10-29 */
6142
+ /** @default 2025-10-30 */
6918
6143
  startAt: string;
6919
6144
  endAt?: string | null;
6920
6145
  setListingInactive?: boolean | null;
@@ -7100,7 +6325,7 @@ export interface operations {
7100
6325
  /** Format: uuid */
7101
6326
  sourceId?: string | null;
7102
6327
  initialOwnership?: {
7103
- /** @default 2025-10-29 */
6328
+ /** @default 2025-10-30 */
7104
6329
  startAt?: string;
7105
6330
  endAt?: string | null;
7106
6331
  members: {
@@ -7158,7 +6383,7 @@ export interface operations {
7158
6383
  status: "active" | "inactive";
7159
6384
  defaultCurrency?: string | null;
7160
6385
  activeOwnership?: {
7161
- /** @default 2025-10-29 */
6386
+ /** @default 2025-10-30 */
7162
6387
  startAt: string;
7163
6388
  endAt?: string | null;
7164
6389
  setListingInactive?: boolean | null;
@@ -7399,7 +6624,7 @@ export interface operations {
7399
6624
  status: "active" | "inactive";
7400
6625
  defaultCurrency?: string | null;
7401
6626
  activeOwnership?: {
7402
- /** @default 2025-10-29 */
6627
+ /** @default 2025-10-30 */
7403
6628
  startAt: string;
7404
6629
  endAt?: string | null;
7405
6630
  setListingInactive?: boolean | null;
@@ -7538,7 +6763,7 @@ export interface operations {
7538
6763
  /** Format: uuid */
7539
6764
  sourceId?: string | null;
7540
6765
  initialOwnership?: {
7541
- /** @default 2025-10-29 */
6766
+ /** @default 2025-10-30 */
7542
6767
  startAt?: string;
7543
6768
  endAt?: string | null;
7544
6769
  members: {
@@ -7592,7 +6817,7 @@ export interface operations {
7592
6817
  status: "active" | "inactive";
7593
6818
  defaultCurrency?: string | null;
7594
6819
  activeOwnership?: {
7595
- /** @default 2025-10-29 */
6820
+ /** @default 2025-10-30 */
7596
6821
  startAt: string;
7597
6822
  endAt?: string | null;
7598
6823
  setListingInactive?: boolean | null;
@@ -7809,7 +7034,7 @@ export interface operations {
7809
7034
  status: "active" | "inactive";
7810
7035
  defaultCurrency?: string | null;
7811
7036
  activeOwnership?: {
7812
- /** @default 2025-10-29 */
7037
+ /** @default 2025-10-30 */
7813
7038
  startAt: string;
7814
7039
  endAt?: string | null;
7815
7040
  setListingInactive?: boolean | null;
@@ -7956,7 +7181,7 @@ export interface operations {
7956
7181
  /** Format: uuid */
7957
7182
  sourceId?: string | null;
7958
7183
  initialOwnership?: {
7959
- /** @default 2025-10-29 */
7184
+ /** @default 2025-10-30 */
7960
7185
  startAt?: string;
7961
7186
  endAt?: string | null;
7962
7187
  members: {
@@ -8010,7 +7235,7 @@ export interface operations {
8010
7235
  status: "active" | "inactive";
8011
7236
  defaultCurrency?: string | null;
8012
7237
  activeOwnership?: {
8013
- /** @default 2025-10-29 */
7238
+ /** @default 2025-10-30 */
8014
7239
  startAt: string;
8015
7240
  endAt?: string | null;
8016
7241
  setListingInactive?: boolean | null;
@@ -9761,6 +8986,9 @@ export interface operations {
9761
8986
  account?: {
9762
8987
  id: string;
9763
8988
  name: string;
8989
+ uniqueRef?: string | null;
8990
+ /** @enum {string} */
8991
+ status: "active" | "inactive";
9764
8992
  /** @enum {string} */
9765
8993
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
9766
8994
  } | null;
@@ -9780,11 +9008,9 @@ export interface operations {
9780
9008
  account?: {
9781
9009
  id: string;
9782
9010
  name: string;
9783
- bankAccount?: {
9784
- /** Format: uuid */
9785
- id?: string | null;
9786
- name: string;
9787
- } | null;
9011
+ uniqueRef?: string | null;
9012
+ /** @enum {string} */
9013
+ status: "active" | "inactive";
9788
9014
  } | null;
9789
9015
  date: string;
9790
9016
  description: string;
@@ -10352,206 +9578,41 @@ export interface operations {
10352
9578
  id: string;
10353
9579
  uniqueRef: string;
10354
9580
  creditAccount: {
9581
+ id: string;
10355
9582
  name: string;
10356
- /** @enum {string|null} */
10357
- status?: "active" | "inactive" | null;
9583
+ uniqueRef?: string | null;
10358
9584
  /** @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;
9585
+ status: "active" | "inactive";
10415
9586
  };
10416
9587
  debitAccount: {
9588
+ id: string;
10417
9589
  name: string;
10418
- /** @enum {string|null} */
10419
- status?: "active" | "inactive" | null;
9590
+ uniqueRef?: string | null;
10420
9591
  /** @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;
9592
+ status: "active" | "inactive";
10477
9593
  };
10478
9594
  linkedAccounts: {
9595
+ id: string;
9596
+ name: string;
9597
+ uniqueRef?: string | null;
9598
+ /** @enum {string} */
9599
+ status: "active" | "inactive";
9600
+ }[];
9601
+ taxRate?: {
10479
9602
  name: string;
9603
+ countryCode?: string | null;
9604
+ currency?: string | null;
9605
+ /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9606
+ basisPoints: number;
9607
+ /** @enum {string|null} */
9608
+ type?: "markup" | "tax" | null;
9609
+ uniqueRef?: string | null;
10480
9610
  /** @enum {string|null} */
10481
9611
  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;
9612
+ /** Format: uuid */
9613
+ accountId?: string | null;
9614
+ /** Format: uuid */
9615
+ debitAccountId?: string | null;
10555
9616
  id: string;
10556
9617
  } | null;
10557
9618
  };
@@ -10686,190 +9747,25 @@ export interface operations {
10686
9747
  id: string;
10687
9748
  uniqueRef: string;
10688
9749
  creditAccount: {
9750
+ id: string;
10689
9751
  name: string;
10690
- /** @enum {string|null} */
10691
- status?: "active" | "inactive" | null;
9752
+ uniqueRef?: string | null;
10692
9753
  /** @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;
9754
+ status: "active" | "inactive";
10749
9755
  };
10750
9756
  debitAccount: {
9757
+ id: string;
10751
9758
  name: string;
10752
- /** @enum {string|null} */
10753
- status?: "active" | "inactive" | null;
9759
+ uniqueRef?: string | null;
10754
9760
  /** @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;
9761
+ status: "active" | "inactive";
10811
9762
  };
10812
9763
  linkedAccounts: {
9764
+ id: string;
10813
9765
  name: string;
10814
- /** @enum {string|null} */
10815
- status?: "active" | "inactive" | null;
9766
+ uniqueRef?: string | null;
10816
9767
  /** @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;
9768
+ status: "active" | "inactive";
10873
9769
  }[];
10874
9770
  taxRate?: {
10875
9771
  name: string;
@@ -11059,190 +9955,25 @@ export interface operations {
11059
9955
  id: string;
11060
9956
  uniqueRef: string;
11061
9957
  creditAccount: {
9958
+ id: string;
11062
9959
  name: string;
11063
- /** @enum {string|null} */
11064
- status?: "active" | "inactive" | null;
9960
+ uniqueRef?: string | null;
11065
9961
  /** @enum {string} */
11066
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
9962
+ status: "active" | "inactive";
9963
+ };
9964
+ debitAccount: {
11067
9965
  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;
11122
- };
11123
- debitAccount: {
11124
9966
  name: string;
11125
- /** @enum {string|null} */
11126
- status?: "active" | "inactive" | null;
9967
+ uniqueRef?: string | null;
11127
9968
  /** @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;
9969
+ status: "active" | "inactive";
11184
9970
  };
11185
9971
  linkedAccounts: {
9972
+ id: string;
11186
9973
  name: string;
11187
- /** @enum {string|null} */
11188
- status?: "active" | "inactive" | null;
9974
+ uniqueRef?: string | null;
11189
9975
  /** @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;
9976
+ status: "active" | "inactive";
11246
9977
  }[];
11247
9978
  taxRate?: {
11248
9979
  name: string;
@@ -11365,226 +10096,61 @@ export interface operations {
11365
10096
  };
11366
10097
  };
11367
10098
  };
11368
- responses: {
11369
- /** @description Successful response */
11370
- 200: {
11371
- headers: {
11372
- [name: string]: unknown;
11373
- };
11374
- content: {
11375
- "application/json": {
11376
- name: string;
11377
- formula: string;
11378
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
11379
- defaultRate?: number | null;
11380
- icon?: string | null;
11381
- /** @enum {string} */
11382
- type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
11383
- /** @enum {string|null} */
11384
- taxBehavior?: "excluded" | "included" | null;
11385
- /** @enum {string|null} */
11386
- revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
11387
- /** @enum {string|null} */
11388
- status?: "active" | "inactive" | null;
11389
- /**
11390
- * @default flat
11391
- * @enum {string|null}
11392
- */
11393
- rateType: "flat" | "percentage" | null;
11394
- /** @enum {string} */
11395
- creditParty: "manager" | "owners";
11396
- /** @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;
11464
- };
11465
- debitAccount: {
11466
- name: string;
11467
- /** @enum {string|null} */
11468
- status?: "active" | "inactive" | null;
11469
- /** @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;
11526
- };
11527
- linkedAccounts: {
11528
- name: string;
11529
- /** @enum {string|null} */
11530
- status?: "active" | "inactive" | null;
11531
- /** @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;
10099
+ responses: {
10100
+ /** @description Successful response */
10101
+ 200: {
10102
+ headers: {
10103
+ [name: string]: unknown;
10104
+ };
10105
+ content: {
10106
+ "application/json": {
10107
+ name: string;
10108
+ formula: string;
10109
+ /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
10110
+ defaultRate?: number | null;
10111
+ icon?: string | null;
10112
+ /** @enum {string} */
10113
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
10114
+ /** @enum {string|null} */
10115
+ taxBehavior?: "excluded" | "included" | null;
10116
+ /** @enum {string|null} */
10117
+ revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
10118
+ /** @enum {string|null} */
10119
+ status?: "active" | "inactive" | null;
10120
+ /**
10121
+ * @default flat
10122
+ * @enum {string|null}
10123
+ */
10124
+ rateType: "flat" | "percentage" | null;
10125
+ /** @enum {string} */
10126
+ creditParty: "manager" | "owners";
10127
+ /** @enum {string} */
10128
+ debitParty: "manager" | "owners";
10129
+ bookingChannelsFilter?: string[] | null;
10130
+ /** @enum {string|null} */
10131
+ statusFilter?: "canceled" | "booked" | null;
10132
+ id: string;
10133
+ uniqueRef: string;
10134
+ creditAccount: {
10135
+ id: string;
10136
+ name: string;
10137
+ uniqueRef?: string | null;
10138
+ /** @enum {string} */
10139
+ status: "active" | "inactive";
10140
+ };
10141
+ debitAccount: {
10142
+ id: string;
10143
+ name: string;
10144
+ uniqueRef?: string | null;
10145
+ /** @enum {string} */
10146
+ status: "active" | "inactive";
10147
+ };
10148
+ linkedAccounts: {
10149
+ id: string;
10150
+ name: string;
10151
+ uniqueRef?: string | null;
10152
+ /** @enum {string} */
10153
+ status: "active" | "inactive";
11588
10154
  }[];
11589
10155
  taxRate?: {
11590
10156
  name: string;
@@ -11728,66 +10294,11 @@ export interface operations {
11728
10294
  name?: string | null;
11729
10295
  }[];
11730
10296
  linkedAccounts: {
10297
+ id: string;
11731
10298
  name: string;
11732
- /** @enum {string|null} */
11733
- status?: "active" | "inactive" | null;
10299
+ uniqueRef?: string | null;
11734
10300
  /** @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;
10301
+ status: "active" | "inactive";
11791
10302
  }[];
11792
10303
  createdAt: string;
11793
10304
  systemSections: {
@@ -12018,66 +10529,11 @@ export interface operations {
12018
10529
  name?: string | null;
12019
10530
  }[];
12020
10531
  linkedAccounts: {
10532
+ id: string;
12021
10533
  name: string;
12022
- /** @enum {string|null} */
12023
- status?: "active" | "inactive" | null;
10534
+ uniqueRef?: string | null;
12024
10535
  /** @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;
10536
+ status: "active" | "inactive";
12081
10537
  }[];
12082
10538
  createdAt: string;
12083
10539
  systemSections: {
@@ -12183,112 +10639,57 @@ export interface operations {
12183
10639
  locked?: boolean | null;
12184
10640
  /** @enum {string|null} */
12185
10641
  visible?: "all" | "manager" | "none" | null;
12186
- /** @enum {string} */
12187
- type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
12188
- value: string;
12189
- } | {
12190
- id?: string | null;
12191
- name: string;
12192
- locked?: boolean | null;
12193
- /** @enum {string|null} */
12194
- visible?: "all" | "manager" | "none" | null;
12195
- /** @enum {string} */
12196
- type: "accounts";
12197
- value: string[];
12198
- })[];
12199
- }[];
12200
- otherSections: {
12201
- id?: string | null;
12202
- name: string;
12203
- locked?: boolean | null;
12204
- /** @enum {string|null} */
12205
- visible?: "all" | "manager" | "none" | null;
12206
- columns: ({
12207
- id?: string | null;
12208
- name: string;
12209
- locked?: boolean | null;
12210
- /** @enum {string|null} */
12211
- visible?: "all" | "manager" | "none" | null;
12212
- /** @enum {string} */
12213
- type: "field";
12214
- value: string;
12215
- } | {
12216
- id?: string | null;
12217
- name: string;
12218
- locked?: boolean | null;
12219
- /** @enum {string|null} */
12220
- visible?: "all" | "manager" | "none" | null;
12221
- /** @enum {string} */
12222
- type: "accounts";
12223
- value: string[];
12224
- })[];
12225
- }[];
12226
- id: string;
12227
- activeListings: {
12228
- id: string;
12229
- name?: string | null;
12230
- }[];
12231
- linkedAccounts: {
12232
- name: string;
12233
- /** @enum {string|null} */
12234
- status?: "active" | "inactive" | null;
12235
- /** @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;
10642
+ /** @enum {string} */
10643
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
10644
+ value: string;
10645
+ } | {
10646
+ id?: string | null;
10647
+ name: string;
10648
+ locked?: boolean | null;
10649
+ /** @enum {string|null} */
10650
+ visible?: "all" | "manager" | "none" | null;
10651
+ /** @enum {string} */
10652
+ type: "accounts";
10653
+ value: string[];
10654
+ })[];
10655
+ }[];
10656
+ otherSections: {
10657
+ id?: string | null;
10658
+ name: string;
10659
+ locked?: boolean | null;
10660
+ /** @enum {string|null} */
10661
+ visible?: "all" | "manager" | "none" | null;
10662
+ columns: ({
10663
+ id?: string | null;
10664
+ name: string;
10665
+ locked?: boolean | null;
10666
+ /** @enum {string|null} */
10667
+ visible?: "all" | "manager" | "none" | null;
10668
+ /** @enum {string} */
10669
+ type: "field";
10670
+ value: string;
10671
+ } | {
10672
+ id?: string | null;
10673
+ name: string;
10674
+ locked?: boolean | null;
10675
+ /** @enum {string|null} */
10676
+ visible?: "all" | "manager" | "none" | null;
10677
+ /** @enum {string} */
10678
+ type: "accounts";
10679
+ value: string[];
10680
+ })[];
10681
+ }[];
10682
+ id: string;
10683
+ activeListings: {
10684
+ id: string;
10685
+ name?: string | null;
10686
+ }[];
10687
+ linkedAccounts: {
10688
+ id: string;
10689
+ name: string;
10690
+ uniqueRef?: string | null;
10691
+ /** @enum {string} */
10692
+ status: "active" | "inactive";
12292
10693
  }[];
12293
10694
  createdAt: string;
12294
10695
  systemSections: {
@@ -12511,66 +10912,11 @@ export interface operations {
12511
10912
  name?: string | null;
12512
10913
  }[];
12513
10914
  linkedAccounts: {
10915
+ id: string;
12514
10916
  name: string;
12515
- /** @enum {string|null} */
12516
- status?: "active" | "inactive" | null;
10917
+ uniqueRef?: string | null;
12517
10918
  /** @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;
10919
+ status: "active" | "inactive";
12574
10920
  }[];
12575
10921
  createdAt: string;
12576
10922
  systemSections: {
@@ -12796,6 +11142,9 @@ export interface operations {
12796
11142
  account?: {
12797
11143
  id: string;
12798
11144
  name: string;
11145
+ uniqueRef?: string | null;
11146
+ /** @enum {string} */
11147
+ status: "active" | "inactive";
12799
11148
  } | null;
12800
11149
  /** @enum {string} */
12801
11150
  party: "owners" | "manager";
@@ -12846,11 +11195,9 @@ export interface operations {
12846
11195
  account?: {
12847
11196
  id: string;
12848
11197
  name: string;
12849
- bankAccount?: {
12850
- /** Format: uuid */
12851
- id?: string | null;
12852
- name: string;
12853
- } | null;
11198
+ uniqueRef?: string | null;
11199
+ /** @enum {string} */
11200
+ status: "active" | "inactive";
12854
11201
  } | null;
12855
11202
  payment: {
12856
11203
  bankRecordIds: string[];
@@ -13293,66 +11640,11 @@ export interface operations {
13293
11640
  name?: string | null;
13294
11641
  }[];
13295
11642
  linkedAccounts: {
11643
+ id: string;
13296
11644
  name: string;
13297
- /** @enum {string|null} */
13298
- status?: "active" | "inactive" | null;
11645
+ uniqueRef?: string | null;
13299
11646
  /** @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;
11647
+ status: "active" | "inactive";
13356
11648
  }[];
13357
11649
  createdAt: string;
13358
11650
  systemSections: {
@@ -13801,66 +12093,11 @@ export interface operations {
13801
12093
  name?: string | null;
13802
12094
  }[];
13803
12095
  linkedAccounts: {
12096
+ id: string;
13804
12097
  name: string;
13805
- /** @enum {string|null} */
13806
- status?: "active" | "inactive" | null;
12098
+ uniqueRef?: string | null;
13807
12099
  /** @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;
12100
+ status: "active" | "inactive";
13864
12101
  }[];
13865
12102
  createdAt: string;
13866
12103
  systemSections: {
@@ -14318,66 +12555,11 @@ export interface operations {
14318
12555
  name?: string | null;
14319
12556
  }[];
14320
12557
  linkedAccounts: {
12558
+ id: string;
14321
12559
  name: string;
14322
- /** @enum {string|null} */
14323
- status?: "active" | "inactive" | null;
12560
+ uniqueRef?: string | null;
14324
12561
  /** @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;
12562
+ status: "active" | "inactive";
14381
12563
  }[];
14382
12564
  createdAt: string;
14383
12565
  systemSections: {
@@ -15164,66 +13346,11 @@ export interface operations {
15164
13346
  name?: string | null;
15165
13347
  }[];
15166
13348
  linkedAccounts: {
13349
+ id: string;
15167
13350
  name: string;
15168
- /** @enum {string|null} */
15169
- status?: "active" | "inactive" | null;
13351
+ uniqueRef?: string | null;
15170
13352
  /** @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;
13353
+ status: "active" | "inactive";
15227
13354
  }[];
15228
13355
  createdAt: string;
15229
13356
  systemSections: {
@@ -15536,6 +13663,9 @@ export interface operations {
15536
13663
  account?: {
15537
13664
  id: string;
15538
13665
  name: string;
13666
+ uniqueRef?: string | null;
13667
+ /** @enum {string} */
13668
+ status: "active" | "inactive";
15539
13669
  } | null;
15540
13670
  /** @enum {string} */
15541
13671
  party: "owners" | "manager";
@@ -15586,11 +13716,9 @@ export interface operations {
15586
13716
  account?: {
15587
13717
  id: string;
15588
13718
  name: string;
15589
- bankAccount?: {
15590
- /** Format: uuid */
15591
- id?: string | null;
15592
- name: string;
15593
- } | null;
13719
+ uniqueRef?: string | null;
13720
+ /** @enum {string} */
13721
+ status: "active" | "inactive";
15594
13722
  } | null;
15595
13723
  payment: {
15596
13724
  bankRecordIds: string[];
@@ -15988,6 +14116,9 @@ export interface operations {
15988
14116
  account?: {
15989
14117
  id: string;
15990
14118
  name: string;
14119
+ uniqueRef?: string | null;
14120
+ /** @enum {string} */
14121
+ status: "active" | "inactive";
15991
14122
  } | null;
15992
14123
  /** @enum {string} */
15993
14124
  party: "owners" | "manager";
@@ -16037,12 +14168,10 @@ export interface operations {
16037
14168
  } | null;
16038
14169
  account?: {
16039
14170
  id: string;
16040
- name: string;
16041
- bankAccount?: {
16042
- /** Format: uuid */
16043
- id?: string | null;
16044
- name: string;
16045
- } | null;
14171
+ name: string;
14172
+ uniqueRef?: string | null;
14173
+ /** @enum {string} */
14174
+ status: "active" | "inactive";
16046
14175
  } | null;
16047
14176
  payment: {
16048
14177
  bankRecordIds: string[];
@@ -16167,11 +14296,9 @@ export interface operations {
16167
14296
  account?: {
16168
14297
  id: string;
16169
14298
  name: string;
16170
- bankAccount?: {
16171
- /** Format: uuid */
16172
- id?: string | null;
16173
- name: string;
16174
- } | null;
14299
+ uniqueRef?: string | null;
14300
+ /** @enum {string} */
14301
+ status: "active" | "inactive";
16175
14302
  } | null;
16176
14303
  contact?: {
16177
14304
  /** Format: uuid */
@@ -16223,6 +14350,9 @@ export interface operations {
16223
14350
  account?: {
16224
14351
  id: string;
16225
14352
  name: string;
14353
+ uniqueRef?: string | null;
14354
+ /** @enum {string} */
14355
+ status: "active" | "inactive";
16226
14356
  } | null;
16227
14357
  /** @enum {string} */
16228
14358
  party: "owners" | "manager";
@@ -16396,11 +14526,9 @@ export interface operations {
16396
14526
  account?: {
16397
14527
  id: string;
16398
14528
  name: string;
16399
- bankAccount?: {
16400
- /** Format: uuid */
16401
- id?: string | null;
16402
- name: string;
16403
- } | null;
14529
+ uniqueRef?: string | null;
14530
+ /** @enum {string} */
14531
+ status: "active" | "inactive";
16404
14532
  } | null;
16405
14533
  contact?: {
16406
14534
  /** Format: uuid */
@@ -16452,6 +14580,9 @@ export interface operations {
16452
14580
  account?: {
16453
14581
  id: string;
16454
14582
  name: string;
14583
+ uniqueRef?: string | null;
14584
+ /** @enum {string} */
14585
+ status: "active" | "inactive";
16455
14586
  } | null;
16456
14587
  /** @enum {string} */
16457
14588
  party: "owners" | "manager";
@@ -16669,11 +14800,9 @@ export interface operations {
16669
14800
  account?: {
16670
14801
  id: string;
16671
14802
  name: string;
16672
- bankAccount?: {
16673
- /** Format: uuid */
16674
- id?: string | null;
16675
- name: string;
16676
- } | null;
14803
+ uniqueRef?: string | null;
14804
+ /** @enum {string} */
14805
+ status: "active" | "inactive";
16677
14806
  } | null;
16678
14807
  contact?: {
16679
14808
  /** Format: uuid */
@@ -16725,6 +14854,9 @@ export interface operations {
16725
14854
  account?: {
16726
14855
  id: string;
16727
14856
  name: string;
14857
+ uniqueRef?: string | null;
14858
+ /** @enum {string} */
14859
+ status: "active" | "inactive";
16728
14860
  } | null;
16729
14861
  /** @enum {string} */
16730
14862
  party: "owners" | "manager";
@@ -16904,11 +15036,9 @@ export interface operations {
16904
15036
  account?: {
16905
15037
  id: string;
16906
15038
  name: string;
16907
- bankAccount?: {
16908
- /** Format: uuid */
16909
- id?: string | null;
16910
- name: string;
16911
- } | null;
15039
+ uniqueRef?: string | null;
15040
+ /** @enum {string} */
15041
+ status: "active" | "inactive";
16912
15042
  } | null;
16913
15043
  contact?: {
16914
15044
  /** Format: uuid */
@@ -16960,6 +15090,9 @@ export interface operations {
16960
15090
  account?: {
16961
15091
  id: string;
16962
15092
  name: string;
15093
+ uniqueRef?: string | null;
15094
+ /** @enum {string} */
15095
+ status: "active" | "inactive";
16963
15096
  } | null;
16964
15097
  /** @enum {string} */
16965
15098
  party: "owners" | "manager";
@@ -17150,6 +15283,9 @@ export interface operations {
17150
15283
  account?: {
17151
15284
  id: string;
17152
15285
  name: string;
15286
+ uniqueRef?: string | null;
15287
+ /** @enum {string} */
15288
+ status: "active" | "inactive";
17153
15289
  } | null;
17154
15290
  /** @enum {string} */
17155
15291
  party: "owners" | "manager";
@@ -17200,11 +15336,9 @@ export interface operations {
17200
15336
  account?: {
17201
15337
  id: string;
17202
15338
  name: string;
17203
- bankAccount?: {
17204
- /** Format: uuid */
17205
- id?: string | null;
17206
- name: string;
17207
- } | null;
15339
+ uniqueRef?: string | null;
15340
+ /** @enum {string} */
15341
+ status: "active" | "inactive";
17208
15342
  } | null;
17209
15343
  payment: {
17210
15344
  bankRecordIds: string[];
@@ -17425,6 +15559,9 @@ export interface operations {
17425
15559
  account?: {
17426
15560
  id: string;
17427
15561
  name: string;
15562
+ uniqueRef?: string | null;
15563
+ /** @enum {string} */
15564
+ status: "active" | "inactive";
17428
15565
  } | null;
17429
15566
  /** @enum {string} */
17430
15567
  party: "owners" | "manager";
@@ -17475,11 +15612,9 @@ export interface operations {
17475
15612
  account?: {
17476
15613
  id: string;
17477
15614
  name: string;
17478
- bankAccount?: {
17479
- /** Format: uuid */
17480
- id?: string | null;
17481
- name: string;
17482
- } | null;
15615
+ uniqueRef?: string | null;
15616
+ /** @enum {string} */
15617
+ status: "active" | "inactive";
17483
15618
  } | null;
17484
15619
  payment: {
17485
15620
  bankRecordIds: string[];
@@ -17709,6 +15844,9 @@ export interface operations {
17709
15844
  account?: {
17710
15845
  id: string;
17711
15846
  name: string;
15847
+ uniqueRef?: string | null;
15848
+ /** @enum {string} */
15849
+ status: "active" | "inactive";
17712
15850
  } | null;
17713
15851
  /** @enum {string} */
17714
15852
  party: "owners" | "manager";
@@ -17759,11 +15897,9 @@ export interface operations {
17759
15897
  account?: {
17760
15898
  id: string;
17761
15899
  name: string;
17762
- bankAccount?: {
17763
- /** Format: uuid */
17764
- id?: string | null;
17765
- name: string;
17766
- } | null;
15900
+ uniqueRef?: string | null;
15901
+ /** @enum {string} */
15902
+ status: "active" | "inactive";
17767
15903
  } | null;
17768
15904
  payment: {
17769
15905
  bankRecordIds: string[];
@@ -17990,6 +16126,9 @@ export interface operations {
17990
16126
  account?: {
17991
16127
  id: string;
17992
16128
  name: string;
16129
+ uniqueRef?: string | null;
16130
+ /** @enum {string} */
16131
+ status: "active" | "inactive";
17993
16132
  } | null;
17994
16133
  /** @enum {string} */
17995
16134
  party: "owners" | "manager";
@@ -18040,11 +16179,9 @@ export interface operations {
18040
16179
  account?: {
18041
16180
  id: string;
18042
16181
  name: string;
18043
- bankAccount?: {
18044
- /** Format: uuid */
18045
- id?: string | null;
18046
- name: string;
18047
- } | null;
16182
+ uniqueRef?: string | null;
16183
+ /** @enum {string} */
16184
+ status: "active" | "inactive";
18048
16185
  } | null;
18049
16186
  payment: {
18050
16187
  bankRecordIds: string[];
@@ -18191,6 +16328,9 @@ export interface operations {
18191
16328
  account?: {
18192
16329
  id: string;
18193
16330
  name: string;
16331
+ uniqueRef?: string | null;
16332
+ /** @enum {string} */
16333
+ status: "active" | "inactive";
18194
16334
  } | null;
18195
16335
  /** @enum {string} */
18196
16336
  party: "owners" | "manager";
@@ -18241,11 +16381,9 @@ export interface operations {
18241
16381
  account?: {
18242
16382
  id: string;
18243
16383
  name: string;
18244
- bankAccount?: {
18245
- /** Format: uuid */
18246
- id?: string | null;
18247
- name: string;
18248
- } | null;
16384
+ uniqueRef?: string | null;
16385
+ /** @enum {string} */
16386
+ status: "active" | "inactive";
18249
16387
  } | null;
18250
16388
  payment: {
18251
16389
  bankRecordIds: string[];
@@ -18464,6 +16602,9 @@ export interface operations {
18464
16602
  account?: {
18465
16603
  id: string;
18466
16604
  name: string;
16605
+ uniqueRef?: string | null;
16606
+ /** @enum {string} */
16607
+ status: "active" | "inactive";
18467
16608
  } | null;
18468
16609
  /** @enum {string} */
18469
16610
  party: "owners" | "manager";
@@ -18514,11 +16655,9 @@ export interface operations {
18514
16655
  account?: {
18515
16656
  id: string;
18516
16657
  name: string;
18517
- bankAccount?: {
18518
- /** Format: uuid */
18519
- id?: string | null;
18520
- name: string;
18521
- } | null;
16658
+ uniqueRef?: string | null;
16659
+ /** @enum {string} */
16660
+ status: "active" | "inactive";
18522
16661
  } | null;
18523
16662
  payment: {
18524
16663
  bankRecordIds: string[];
@@ -19288,6 +17427,9 @@ export interface operations {
19288
17427
  account?: {
19289
17428
  id: string;
19290
17429
  name: string;
17430
+ uniqueRef?: string | null;
17431
+ /** @enum {string} */
17432
+ status: "active" | "inactive";
19291
17433
  } | null;
19292
17434
  /** @enum {string} */
19293
17435
  party: "owners" | "manager";
@@ -19338,11 +17480,9 @@ export interface operations {
19338
17480
  account?: {
19339
17481
  id: string;
19340
17482
  name: string;
19341
- bankAccount?: {
19342
- /** Format: uuid */
19343
- id?: string | null;
19344
- name: string;
19345
- } | null;
17483
+ uniqueRef?: string | null;
17484
+ /** @enum {string} */
17485
+ status: "active" | "inactive";
19346
17486
  } | null;
19347
17487
  payment: {
19348
17488
  bankRecordIds: string[];
@@ -19488,6 +17628,9 @@ export interface operations {
19488
17628
  offsetAccount?: {
19489
17629
  id: string;
19490
17630
  name: string;
17631
+ uniqueRef?: string | null;
17632
+ /** @enum {string} */
17633
+ status: "active" | "inactive";
19491
17634
  } | null;
19492
17635
  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
17636
  category?: {
@@ -19639,6 +17782,9 @@ export interface operations {
19639
17782
  offsetAccount?: {
19640
17783
  id: string;
19641
17784
  name: string;
17785
+ uniqueRef?: string | null;
17786
+ /** @enum {string} */
17787
+ status: "active" | "inactive";
19642
17788
  } | null;
19643
17789
  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
17790
  category?: {
@@ -19851,6 +17997,9 @@ export interface operations {
19851
17997
  offsetAccount?: {
19852
17998
  id: string;
19853
17999
  name: string;
18000
+ uniqueRef?: string | null;
18001
+ /** @enum {string} */
18002
+ status: "active" | "inactive";
19854
18003
  } | null;
19855
18004
  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
18005
  category?: {
@@ -20010,6 +18159,9 @@ export interface operations {
20010
18159
  offsetAccount?: {
20011
18160
  id: string;
20012
18161
  name: string;
18162
+ uniqueRef?: string | null;
18163
+ /** @enum {string} */
18164
+ status: "active" | "inactive";
20013
18165
  } | null;
20014
18166
  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
18167
  category?: {
@@ -20676,11 +18828,9 @@ export interface operations {
20676
18828
  account?: {
20677
18829
  id: string;
20678
18830
  name: string;
20679
- bankAccount?: {
20680
- /** Format: uuid */
20681
- id?: string | null;
20682
- name: string;
20683
- } | null;
18831
+ uniqueRef?: string | null;
18832
+ /** @enum {string} */
18833
+ status: "active" | "inactive";
20684
18834
  } | null;
20685
18835
  date: string;
20686
18836
  description: string;
@@ -20923,11 +19073,9 @@ export interface operations {
20923
19073
  account?: {
20924
19074
  id: string;
20925
19075
  name: string;
20926
- bankAccount?: {
20927
- /** Format: uuid */
20928
- id?: string | null;
20929
- name: string;
20930
- } | null;
19076
+ uniqueRef?: string | null;
19077
+ /** @enum {string} */
19078
+ status: "active" | "inactive";
20931
19079
  } | null;
20932
19080
  date: string;
20933
19081
  description: string;
@@ -22021,10 +20169,133 @@ export interface operations {
22021
20169
  header?: {
22022
20170
  "X-Team-Id"?: string;
22023
20171
  };
22024
- path?: never;
22025
- cookie?: never;
20172
+ path?: never;
20173
+ cookie?: never;
20174
+ };
20175
+ requestBody?: never;
20176
+ responses: {
20177
+ /** @description Successful response */
20178
+ 200: {
20179
+ headers: {
20180
+ [name: string]: unknown;
20181
+ };
20182
+ content: {
20183
+ "application/json": {
20184
+ data: {
20185
+ date: string;
20186
+ total: number;
20187
+ syncs: {
20188
+ completed: {
20189
+ automate?: {
20190
+ [key: string]: number;
20191
+ };
20192
+ extract?: {
20193
+ [key: string]: number;
20194
+ };
20195
+ };
20196
+ skipped: {
20197
+ automate?: {
20198
+ [key: string]: number;
20199
+ };
20200
+ extract?: {
20201
+ [key: string]: number;
20202
+ };
20203
+ };
20204
+ failed: {
20205
+ automate?: {
20206
+ [key: string]: number;
20207
+ };
20208
+ extract?: {
20209
+ [key: string]: number;
20210
+ };
20211
+ };
20212
+ queued: {
20213
+ automate?: {
20214
+ [key: string]: number;
20215
+ };
20216
+ extract?: {
20217
+ [key: string]: number;
20218
+ };
20219
+ };
20220
+ };
20221
+ }[];
20222
+ };
20223
+ };
20224
+ };
20225
+ /** @description Invalid input data */
20226
+ 400: {
20227
+ headers: {
20228
+ [name: string]: unknown;
20229
+ };
20230
+ content: {
20231
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
20232
+ };
20233
+ };
20234
+ /** @description Authorization not provided */
20235
+ 401: {
20236
+ headers: {
20237
+ [name: string]: unknown;
20238
+ };
20239
+ content: {
20240
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
20241
+ };
20242
+ };
20243
+ /** @description Insufficient access */
20244
+ 403: {
20245
+ headers: {
20246
+ [name: string]: unknown;
20247
+ };
20248
+ content: {
20249
+ "application/json": components["schemas"]["error.FORBIDDEN"];
20250
+ };
20251
+ };
20252
+ /** @description Not found */
20253
+ 404: {
20254
+ headers: {
20255
+ [name: string]: unknown;
20256
+ };
20257
+ content: {
20258
+ "application/json": components["schemas"]["error.NOT_FOUND"];
20259
+ };
20260
+ };
20261
+ /** @description Internal server error */
20262
+ 500: {
20263
+ headers: {
20264
+ [name: string]: unknown;
20265
+ };
20266
+ content: {
20267
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
20268
+ };
20269
+ };
20270
+ };
20271
+ };
20272
+ extract: {
20273
+ parameters: {
20274
+ query?: never;
20275
+ header?: {
20276
+ "X-Team-Id"?: string;
20277
+ };
20278
+ path?: never;
20279
+ cookie?: never;
20280
+ };
20281
+ requestBody: {
20282
+ content: {
20283
+ "application/json": {
20284
+ isInitial?: boolean;
20285
+ connections: {
20286
+ /** Format: uuid */
20287
+ connectionId: string;
20288
+ params?: unknown;
20289
+ type?: string;
20290
+ range?: {
20291
+ start?: string;
20292
+ end?: string;
20293
+ };
20294
+ forceUpdate?: boolean;
20295
+ }[];
20296
+ };
20297
+ };
22026
20298
  };
22027
- requestBody?: never;
22028
20299
  responses: {
22029
20300
  /** @description Successful response */
22030
20301
  200: {
@@ -22034,41 +20305,18 @@ export interface operations {
22034
20305
  content: {
22035
20306
  "application/json": {
22036
20307
  data: {
22037
- date: string;
22038
- total: number;
22039
- syncs: {
22040
- completed: {
22041
- automate?: {
22042
- [key: string]: number;
22043
- };
22044
- extract?: {
22045
- [key: string]: number;
22046
- };
22047
- };
22048
- skipped: {
22049
- automate?: {
22050
- [key: string]: number;
22051
- };
22052
- extract?: {
22053
- [key: string]: number;
22054
- };
22055
- };
22056
- failed: {
22057
- automate?: {
22058
- [key: string]: number;
22059
- };
22060
- extract?: {
22061
- [key: string]: number;
22062
- };
22063
- };
22064
- queued: {
22065
- automate?: {
22066
- [key: string]: number;
22067
- };
22068
- extract?: {
22069
- [key: string]: number;
22070
- };
22071
- };
20308
+ /** Format: uuid */
20309
+ runId: string;
20310
+ /** Format: uuid */
20311
+ workflowId: string;
20312
+ /** Format: uuid */
20313
+ taskId: string;
20314
+ /** Format: uuid */
20315
+ syncId: string;
20316
+ data?: unknown;
20317
+ error?: {
20318
+ message: string;
20319
+ error?: string;
22072
20320
  };
22073
20321
  }[];
22074
20322
  };
@@ -22101,15 +20349,6 @@ export interface operations {
22101
20349
  "application/json": components["schemas"]["error.FORBIDDEN"];
22102
20350
  };
22103
20351
  };
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
- };
22113
20352
  /** @description Internal server error */
22114
20353
  500: {
22115
20354
  headers: {
@@ -23258,66 +21497,11 @@ export interface operations {
23258
21497
  [key: string]: unknown;
23259
21498
  } | null;
23260
21499
  account?: {
21500
+ id: string;
23261
21501
  name: string;
23262
- /** @enum {string|null} */
23263
- status?: "active" | "inactive" | null;
21502
+ uniqueRef?: string | null;
23264
21503
  /** @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;
21504
+ status: "active" | "inactive";
23321
21505
  } | null;
23322
21506
  isExcluded?: boolean | null;
23323
21507
  }[];
@@ -23335,66 +21519,11 @@ export interface operations {
23335
21519
  /** @enum {string|null} */
23336
21520
  party?: "owners" | "manager" | null;
23337
21521
  account?: {
21522
+ id: string;
23338
21523
  name: string;
23339
- /** @enum {string|null} */
23340
- status?: "active" | "inactive" | null;
21524
+ uniqueRef?: string | null;
23341
21525
  /** @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;
21526
+ status: "active" | "inactive";
23398
21527
  } | null;
23399
21528
  recurringFee?: {
23400
21529
  id: string;
@@ -26181,70 +24310,7 @@ export interface operations {
26181
24310
  description: string | null;
26182
24311
  /** @enum {string} */
26183
24312
  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
- }[];
24313
+ settings: components["schemas"]["FlowSettingItemsGet"];
26248
24314
  };
26249
24315
  };
26250
24316
  };
@@ -26331,70 +24397,7 @@ export interface operations {
26331
24397
  description: string | null;
26332
24398
  /** @enum {string} */
26333
24399
  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
- }[];
24400
+ settings: components["schemas"]["FlowSettingItemsGet"];
26398
24401
  };
26399
24402
  };
26400
24403
  };
@@ -26502,110 +24505,47 @@ export interface operations {
26502
24505
  404: {
26503
24506
  headers: {
26504
24507
  [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
- }[];
24508
+ };
24509
+ content: {
24510
+ "application/json": components["schemas"]["error.NOT_FOUND"];
24511
+ };
24512
+ };
24513
+ /** @description Internal server error */
24514
+ 500: {
24515
+ headers: {
24516
+ [name: string]: unknown;
24517
+ };
24518
+ content: {
24519
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24520
+ };
24521
+ };
24522
+ };
24523
+ };
24524
+ getFlowSettings: {
24525
+ parameters: {
24526
+ query?: {
24527
+ limit?: number;
24528
+ page?: number;
24529
+ };
24530
+ header?: {
24531
+ "X-Team-Id"?: string;
24532
+ };
24533
+ path: {
24534
+ id: string;
24535
+ connectionId: string;
24536
+ };
24537
+ cookie?: never;
24538
+ };
24539
+ requestBody?: never;
24540
+ responses: {
24541
+ /** @description Successful response */
24542
+ 200: {
24543
+ headers: {
24544
+ [name: string]: unknown;
24545
+ };
24546
+ content: {
24547
+ "application/json": {
24548
+ data: components["schemas"]["FlowSettingItemGet"][];
26609
24549
  pagination: {
26610
24550
  /** @default 100 */
26611
24551
  limit: number;
@@ -26792,70 +24732,7 @@ export interface operations {
26792
24732
  description: string | null;
26793
24733
  /** @enum {string} */
26794
24734
  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
- }[];
24735
+ settings: components["schemas"]["FlowSettingItemsPost"];
26859
24736
  };
26860
24737
  };
26861
24738
  };
@@ -26897,7 +24774,7 @@ export interface operations {
26897
24774
  };
26898
24775
  };
26899
24776
  };
26900
- getFlowMappings: {
24777
+ getFlowMapping: {
26901
24778
  parameters: {
26902
24779
  query?: {
26903
24780
  sourceId?: string;
@@ -26910,6 +24787,7 @@ export interface operations {
26910
24787
  path: {
26911
24788
  id: string;
26912
24789
  connectionId: string;
24790
+ mappingKey: string;
26913
24791
  };
26914
24792
  cookie?: never;
26915
24793
  };
@@ -26922,70 +24800,7 @@ export interface operations {
26922
24800
  };
26923
24801
  content: {
26924
24802
  "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
- }[];
24803
+ data: components["schemas"]["FlowMappingItemGet"][];
26989
24804
  pagination: {
26990
24805
  /** @default 100 */
26991
24806
  limit: number;
@@ -27079,70 +24894,83 @@ export interface operations {
27079
24894
  };
27080
24895
  content: {
27081
24896
  "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
- }[];
24897
+ data: components["schemas"]["FlowMappingItemPost"][];
24898
+ pagination: {
24899
+ /** @default 100 */
24900
+ limit: number;
24901
+ /** @default 1 */
24902
+ page: number;
24903
+ total: number;
24904
+ totalPage: number;
24905
+ nextPage?: number;
24906
+ };
24907
+ };
24908
+ };
24909
+ };
24910
+ /** @description Invalid input data */
24911
+ 400: {
24912
+ headers: {
24913
+ [name: string]: unknown;
24914
+ };
24915
+ content: {
24916
+ "application/json": components["schemas"]["error.BAD_REQUEST"];
24917
+ };
24918
+ };
24919
+ /** @description Authorization not provided */
24920
+ 401: {
24921
+ headers: {
24922
+ [name: string]: unknown;
24923
+ };
24924
+ content: {
24925
+ "application/json": components["schemas"]["error.UNAUTHORIZED"];
24926
+ };
24927
+ };
24928
+ /** @description Insufficient access */
24929
+ 403: {
24930
+ headers: {
24931
+ [name: string]: unknown;
24932
+ };
24933
+ content: {
24934
+ "application/json": components["schemas"]["error.FORBIDDEN"];
24935
+ };
24936
+ };
24937
+ /** @description Internal server error */
24938
+ 500: {
24939
+ headers: {
24940
+ [name: string]: unknown;
24941
+ };
24942
+ content: {
24943
+ "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
24944
+ };
24945
+ };
24946
+ };
24947
+ };
24948
+ getFlowMappings: {
24949
+ parameters: {
24950
+ query?: {
24951
+ sourceId?: string;
24952
+ limit?: number;
24953
+ page?: number;
24954
+ };
24955
+ header?: {
24956
+ "X-Team-Id"?: string;
24957
+ };
24958
+ path: {
24959
+ id: string;
24960
+ connectionId: string;
24961
+ };
24962
+ cookie?: never;
24963
+ };
24964
+ requestBody?: never;
24965
+ responses: {
24966
+ /** @description Successful response */
24967
+ 200: {
24968
+ headers: {
24969
+ [name: string]: unknown;
24970
+ };
24971
+ content: {
24972
+ "application/json": {
24973
+ data: components["schemas"]["FlowMappingItemGet"][];
27146
24974
  pagination: {
27147
24975
  /** @default 100 */
27148
24976
  limit: number;
@@ -27182,6 +25010,15 @@ export interface operations {
27182
25010
  "application/json": components["schemas"]["error.FORBIDDEN"];
27183
25011
  };
27184
25012
  };
25013
+ /** @description Not found */
25014
+ 404: {
25015
+ headers: {
25016
+ [name: string]: unknown;
25017
+ };
25018
+ content: {
25019
+ "application/json": components["schemas"]["error.NOT_FOUND"];
25020
+ };
25021
+ };
27185
25022
  /** @description Internal server error */
27186
25023
  500: {
27187
25024
  headers: {