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