@vrplatform/api 1.2.33-stage.711 → 1.2.33-stage.714

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.
@@ -555,76 +555,6 @@ export interface paths {
555
555
  patch?: never;
556
556
  trace?: never;
557
557
  };
558
- "/statements/manager": {
559
- parameters: {
560
- query?: never;
561
- header?: never;
562
- path?: never;
563
- cookie?: never;
564
- };
565
- /** @description Get Statements */
566
- get: operations["getManagerStatements"];
567
- put?: never;
568
- /** @description Create Manager Statements */
569
- post: operations["createManagerStatement"];
570
- delete?: never;
571
- options?: never;
572
- head?: never;
573
- patch?: never;
574
- trace?: never;
575
- };
576
- "/statements/manager/batch": {
577
- parameters: {
578
- query?: never;
579
- header?: never;
580
- path?: never;
581
- cookie?: never;
582
- };
583
- /** @description Get Statements by month */
584
- get: operations["getManagerStatementsBatch"];
585
- put?: never;
586
- post?: never;
587
- delete?: never;
588
- options?: never;
589
- head?: never;
590
- patch?: never;
591
- trace?: never;
592
- };
593
- "/statements/manager/pay": {
594
- parameters: {
595
- query?: never;
596
- header?: never;
597
- path?: never;
598
- cookie?: never;
599
- };
600
- get?: never;
601
- put?: never;
602
- /** @description Pay a property manager out */
603
- post: operations["payManagerStatement"];
604
- delete?: never;
605
- options?: never;
606
- head?: never;
607
- patch?: never;
608
- trace?: never;
609
- };
610
- "/statements/manager/{id}": {
611
- parameters: {
612
- query?: never;
613
- header?: never;
614
- path?: never;
615
- cookie?: never;
616
- };
617
- get?: never;
618
- /** @description Update Statements by Id */
619
- put: operations["updateManagerStatement"];
620
- post?: never;
621
- /** @description Update Statements by Id */
622
- delete: operations["deleteManagerStatement"];
623
- options?: never;
624
- head?: never;
625
- patch?: never;
626
- trace?: never;
627
- };
628
558
  "/statements/pdf": {
629
559
  parameters: {
630
560
  query?: never;
@@ -6283,7 +6213,7 @@ export interface operations {
6283
6213
  data: {
6284
6214
  /** Format: uuid */
6285
6215
  listingId: string;
6286
- /** @default 2025-10-06 */
6216
+ /** @default 2025-10-07 */
6287
6217
  startAt: string;
6288
6218
  endAt?: string | null;
6289
6219
  setListingInactive?: boolean | null;
@@ -6365,7 +6295,7 @@ export interface operations {
6365
6295
  "application/json": {
6366
6296
  /** Format: uuid */
6367
6297
  listingId: string;
6368
- /** @default 2025-10-06 */
6298
+ /** @default 2025-10-07 */
6369
6299
  startAt?: string;
6370
6300
  endAt?: string | null;
6371
6301
  members: {
@@ -6399,7 +6329,7 @@ export interface operations {
6399
6329
  "application/json": {
6400
6330
  /** Format: uuid */
6401
6331
  listingId: string;
6402
- /** @default 2025-10-06 */
6332
+ /** @default 2025-10-07 */
6403
6333
  startAt: string;
6404
6334
  endAt?: string | null;
6405
6335
  setListingInactive?: boolean | null;
@@ -6479,7 +6409,7 @@ export interface operations {
6479
6409
  "application/json": {
6480
6410
  /** Format: uuid */
6481
6411
  listingId: string;
6482
- /** @default 2025-10-06 */
6412
+ /** @default 2025-10-07 */
6483
6413
  startAt: string;
6484
6414
  endAt?: string | null;
6485
6415
  setListingInactive?: boolean | null;
@@ -6562,7 +6492,7 @@ export interface operations {
6562
6492
  "application/json": {
6563
6493
  /** Format: uuid */
6564
6494
  listingId?: string;
6565
- /** @default 2025-10-06 */
6495
+ /** @default 2025-10-07 */
6566
6496
  startAt?: string;
6567
6497
  endAt?: string | null;
6568
6498
  members?: {
@@ -6591,7 +6521,7 @@ export interface operations {
6591
6521
  "application/json": {
6592
6522
  /** Format: uuid */
6593
6523
  listingId: string;
6594
- /** @default 2025-10-06 */
6524
+ /** @default 2025-10-07 */
6595
6525
  startAt: string;
6596
6526
  endAt?: string | null;
6597
6527
  setListingInactive?: boolean | null;
@@ -6777,7 +6707,7 @@ export interface operations {
6777
6707
  /** Format: uuid */
6778
6708
  sourceId?: string | null;
6779
6709
  initialOwnership?: {
6780
- /** @default 2025-10-06 */
6710
+ /** @default 2025-10-07 */
6781
6711
  startAt?: string;
6782
6712
  endAt?: string | null;
6783
6713
  members: {
@@ -6835,7 +6765,7 @@ export interface operations {
6835
6765
  status: "active" | "inactive";
6836
6766
  defaultCurrency?: string | null;
6837
6767
  activeOwnership?: {
6838
- /** @default 2025-10-06 */
6768
+ /** @default 2025-10-07 */
6839
6769
  startAt: string;
6840
6770
  endAt?: string | null;
6841
6771
  setListingInactive?: boolean | null;
@@ -7067,7 +6997,7 @@ export interface operations {
7067
6997
  status: "active" | "inactive";
7068
6998
  defaultCurrency?: string | null;
7069
6999
  activeOwnership?: {
7070
- /** @default 2025-10-06 */
7000
+ /** @default 2025-10-07 */
7071
7001
  startAt: string;
7072
7002
  endAt?: string | null;
7073
7003
  setListingInactive?: boolean | null;
@@ -7197,7 +7127,7 @@ export interface operations {
7197
7127
  /** Format: uuid */
7198
7128
  sourceId?: string | null;
7199
7129
  initialOwnership?: {
7200
- /** @default 2025-10-06 */
7130
+ /** @default 2025-10-07 */
7201
7131
  startAt?: string;
7202
7132
  endAt?: string | null;
7203
7133
  members: {
@@ -7251,7 +7181,7 @@ export interface operations {
7251
7181
  status: "active" | "inactive";
7252
7182
  defaultCurrency?: string | null;
7253
7183
  activeOwnership?: {
7254
- /** @default 2025-10-06 */
7184
+ /** @default 2025-10-07 */
7255
7185
  startAt: string;
7256
7186
  endAt?: string | null;
7257
7187
  setListingInactive?: boolean | null;
@@ -7459,7 +7389,7 @@ export interface operations {
7459
7389
  status: "active" | "inactive";
7460
7390
  defaultCurrency?: string | null;
7461
7391
  activeOwnership?: {
7462
- /** @default 2025-10-06 */
7392
+ /** @default 2025-10-07 */
7463
7393
  startAt: string;
7464
7394
  endAt?: string | null;
7465
7395
  setListingInactive?: boolean | null;
@@ -7597,7 +7527,7 @@ export interface operations {
7597
7527
  /** Format: uuid */
7598
7528
  sourceId?: string | null;
7599
7529
  initialOwnership?: {
7600
- /** @default 2025-10-06 */
7530
+ /** @default 2025-10-07 */
7601
7531
  startAt?: string;
7602
7532
  endAt?: string | null;
7603
7533
  members: {
@@ -7651,7 +7581,7 @@ export interface operations {
7651
7581
  status: "active" | "inactive";
7652
7582
  defaultCurrency?: string | null;
7653
7583
  activeOwnership?: {
7654
- /** @default 2025-10-06 */
7584
+ /** @default 2025-10-07 */
7655
7585
  startAt: string;
7656
7586
  endAt?: string | null;
7657
7587
  setListingInactive?: boolean | null;
@@ -11439,1204 +11369,204 @@ export interface operations {
11439
11369
  type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
11440
11370
  value: string;
11441
11371
  } | {
11442
- id?: string | null;
11443
- name: string;
11444
- locked?: boolean | null;
11445
- /** @enum {string|null} */
11446
- visible?: "all" | "manager" | "none" | null;
11447
- /** @enum {string} */
11448
- type: "accounts";
11449
- value: string[];
11450
- })[];
11451
- }[];
11452
- otherSections?: {
11453
- id?: string | null;
11454
- name: string;
11455
- locked?: boolean | null;
11456
- /** @enum {string|null} */
11457
- visible?: "all" | "manager" | "none" | null;
11458
- columns: ({
11459
- id?: string | null;
11460
- name: string;
11461
- locked?: boolean | null;
11462
- /** @enum {string|null} */
11463
- visible?: "all" | "manager" | "none" | null;
11464
- /** @enum {string} */
11465
- type: "field";
11466
- value: string;
11467
- } | {
11468
- id?: string | null;
11469
- name: string;
11470
- locked?: boolean | null;
11471
- /** @enum {string|null} */
11472
- visible?: "all" | "manager" | "none" | null;
11473
- /** @enum {string} */
11474
- type: "accounts";
11475
- value: string[];
11476
- })[];
11477
- }[];
11478
- };
11479
- };
11480
- };
11481
- responses: {
11482
- /** @description Successful response */
11483
- 200: {
11484
- headers: {
11485
- [name: string]: unknown;
11486
- };
11487
- content: {
11488
- "application/json": {
11489
- name: string;
11490
- /** @enum {string|null} */
11491
- summaryType?: "default" | "invoice" | null;
11492
- isDefault: boolean;
11493
- netRevenueSections: {
11494
- id?: string | null;
11495
- name: string;
11496
- locked?: boolean | null;
11497
- /** @enum {string|null} */
11498
- visible?: "all" | "manager" | "none" | null;
11499
- columns: ({
11500
- id?: string | null;
11501
- name: string;
11502
- locked?: boolean | null;
11503
- /** @enum {string|null} */
11504
- visible?: "all" | "manager" | "none" | null;
11505
- /** @enum {string} */
11506
- type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
11507
- value: string;
11508
- } | {
11509
- id?: string | null;
11510
- name: string;
11511
- locked?: boolean | null;
11512
- /** @enum {string|null} */
11513
- visible?: "all" | "manager" | "none" | null;
11514
- /** @enum {string} */
11515
- type: "accounts";
11516
- value: string[];
11517
- })[];
11518
- }[];
11519
- otherSections: {
11520
- id?: string | null;
11521
- name: string;
11522
- locked?: boolean | null;
11523
- /** @enum {string|null} */
11524
- visible?: "all" | "manager" | "none" | null;
11525
- columns: ({
11526
- id?: string | null;
11527
- name: string;
11528
- locked?: boolean | null;
11529
- /** @enum {string|null} */
11530
- visible?: "all" | "manager" | "none" | null;
11531
- /** @enum {string} */
11532
- type: "field";
11533
- value: string;
11534
- } | {
11535
- id?: string | null;
11536
- name: string;
11537
- locked?: boolean | null;
11538
- /** @enum {string|null} */
11539
- visible?: "all" | "manager" | "none" | null;
11540
- /** @enum {string} */
11541
- type: "accounts";
11542
- value: string[];
11543
- })[];
11544
- }[];
11545
- id: string;
11546
- activeListings: {
11547
- id: string;
11548
- name?: string | null;
11549
- }[];
11550
- linkedAccounts: {
11551
- name: string;
11552
- /** @enum {string|null} */
11553
- status?: "active" | "inactive" | null;
11554
- /** @enum {string} */
11555
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
11556
- id: string;
11557
- offsetAccount?: {
11558
- id: string;
11559
- name: string;
11560
- /** @enum {string|null} */
11561
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
11562
- } | null;
11563
- 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")[];
11564
- category?: {
11565
- id: string;
11566
- name: string;
11567
- /** @enum {string|null} */
11568
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
11569
- } | null;
11570
- banking?: {
11571
- /** @enum {string|null} */
11572
- category?: "trust" | "operating" | "external" | null;
11573
- /** @enum {string|null} */
11574
- type?: "deposit" | "creditCard" | null;
11575
- last4?: string | null;
11576
- connections: {
11577
- id: string;
11578
- name: string;
11579
- connection?: {
11580
- id: string;
11581
- icon?: string | null;
11582
- } | null;
11583
- /** @enum {string|null} */
11584
- status?: "active" | "inactive" | null;
11585
- currentSync?: {
11586
- /** @enum {string} */
11587
- status: "queued" | "started" | "completed" | "failed" | "canceled";
11588
- createdAt: string;
11589
- updatedAt: string;
11590
- message?: string | null;
11591
- } | null;
11592
- source?: {
11593
- /** Format: uuid */
11594
- id: string;
11595
- type: string;
11596
- /** @enum {string|null} */
11597
- status?: "active" | "inactive" | null;
11598
- } | null;
11599
- }[];
11600
- bankRecords: {
11601
- reconciled: number;
11602
- unreconciled: number;
11603
- total: number;
11604
- latestCreatedAt?: string | null;
11605
- };
11606
- balance?: {
11607
- openingDate?: string | null;
11608
- opening: number;
11609
- ending: number;
11610
- } | null;
11611
- } | null;
11612
- }[];
11613
- createdAt: string;
11614
- systemSections: {
11615
- id?: string | null;
11616
- name: string;
11617
- locked?: boolean | null;
11618
- /** @enum {string|null} */
11619
- visible?: "all" | "manager" | "none" | null;
11620
- columns: ({
11621
- id?: string | null;
11622
- name: string;
11623
- locked?: boolean | null;
11624
- /** @enum {string|null} */
11625
- visible?: "all" | "manager" | "none" | null;
11626
- /** @enum {string} */
11627
- type: "field";
11628
- value: string;
11629
- } | {
11630
- id?: string | null;
11631
- name: string;
11632
- locked?: boolean | null;
11633
- /** @enum {string|null} */
11634
- visible?: "all" | "manager" | "none" | null;
11635
- /** @enum {string} */
11636
- type: "accounts";
11637
- value: string[];
11638
- })[];
11639
- }[];
11640
- };
11641
- };
11642
- };
11643
- /** @description Invalid input data */
11644
- 400: {
11645
- headers: {
11646
- [name: string]: unknown;
11647
- };
11648
- content: {
11649
- "application/json": components["schemas"]["error.BAD_REQUEST"];
11650
- };
11651
- };
11652
- /** @description Authorization not provided */
11653
- 401: {
11654
- headers: {
11655
- [name: string]: unknown;
11656
- };
11657
- content: {
11658
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
11659
- };
11660
- };
11661
- /** @description Insufficient access */
11662
- 403: {
11663
- headers: {
11664
- [name: string]: unknown;
11665
- };
11666
- content: {
11667
- "application/json": components["schemas"]["error.FORBIDDEN"];
11668
- };
11669
- };
11670
- /** @description Not found */
11671
- 404: {
11672
- headers: {
11673
- [name: string]: unknown;
11674
- };
11675
- content: {
11676
- "application/json": components["schemas"]["error.NOT_FOUND"];
11677
- };
11678
- };
11679
- /** @description Internal server error */
11680
- 500: {
11681
- headers: {
11682
- [name: string]: unknown;
11683
- };
11684
- content: {
11685
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
11686
- };
11687
- };
11688
- };
11689
- };
11690
- deleteStatementLayout: {
11691
- parameters: {
11692
- query?: never;
11693
- header?: {
11694
- "X-Team-Id"?: string;
11695
- };
11696
- path: {
11697
- id: string;
11698
- };
11699
- cookie?: never;
11700
- };
11701
- requestBody?: never;
11702
- responses: {
11703
- /** @description Successful response */
11704
- 200: {
11705
- headers: {
11706
- [name: string]: unknown;
11707
- };
11708
- content: {
11709
- "application/json": {
11710
- deleted: boolean;
11711
- };
11712
- };
11713
- };
11714
- /** @description Invalid input data */
11715
- 400: {
11716
- headers: {
11717
- [name: string]: unknown;
11718
- };
11719
- content: {
11720
- "application/json": components["schemas"]["error.BAD_REQUEST"];
11721
- };
11722
- };
11723
- /** @description Authorization not provided */
11724
- 401: {
11725
- headers: {
11726
- [name: string]: unknown;
11727
- };
11728
- content: {
11729
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
11730
- };
11731
- };
11732
- /** @description Insufficient access */
11733
- 403: {
11734
- headers: {
11735
- [name: string]: unknown;
11736
- };
11737
- content: {
11738
- "application/json": components["schemas"]["error.FORBIDDEN"];
11739
- };
11740
- };
11741
- /** @description Not found */
11742
- 404: {
11743
- headers: {
11744
- [name: string]: unknown;
11745
- };
11746
- content: {
11747
- "application/json": components["schemas"]["error.NOT_FOUND"];
11748
- };
11749
- };
11750
- /** @description Internal server error */
11751
- 500: {
11752
- headers: {
11753
- [name: string]: unknown;
11754
- };
11755
- content: {
11756
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
11757
- };
11758
- };
11759
- };
11760
- };
11761
- getManagerStatements: {
11762
- parameters: {
11763
- query?: {
11764
- status?: "draft" | "inReview" | "void" | "preview" | "published" | "all";
11765
- /** @description Year in format YYYY */
11766
- year?: number;
11767
- limit?: number;
11768
- page?: number;
11769
- };
11770
- header?: {
11771
- "X-Team-Id"?: string;
11772
- };
11773
- path?: never;
11774
- cookie?: never;
11775
- };
11776
- requestBody?: never;
11777
- responses: {
11778
- /** @description Successful response */
11779
- 200: {
11780
- headers: {
11781
- [name: string]: unknown;
11782
- };
11783
- content: {
11784
- "application/json": {
11785
- data: {
11786
- id?: string | null;
11787
- issues: ({
11788
- /** @enum {string} */
11789
- code: "emptyJournalEntryAccountIds";
11790
- /** @enum {string} */
11791
- severity: "error";
11792
- context: {
11793
- journalEntryIds: string[];
11794
- };
11795
- message: string;
11796
- } | {
11797
- /** @enum {string} */
11798
- code: "netRevenueLayoutMismatch";
11799
- /** @enum {string} */
11800
- severity: "error";
11801
- context: Record<string, never>;
11802
- message: string;
11803
- } | {
11804
- /** @enum {string} */
11805
- code: "listingInactive";
11806
- /** @enum {string} */
11807
- severity: "error";
11808
- context: Record<string, never>;
11809
- message: string;
11810
- } | {
11811
- /** @enum {string} */
11812
- code: "balanceMismatch_start";
11813
- /** @enum {string} */
11814
- severity: "warning";
11815
- context: Record<string, never>;
11816
- message: string;
11817
- } | {
11818
- /** @enum {string} */
11819
- code: "balanceMismatch_end";
11820
- /** @enum {string} */
11821
- severity: "warning";
11822
- context: Record<string, never>;
11823
- message: string;
11824
- } | {
11825
- /** @enum {string} */
11826
- code: "previousMonthJournalEntries";
11827
- /** @enum {string} */
11828
- severity: "warning";
11829
- context: {
11830
- journalEntryIds: string[];
11831
- affected: number;
11832
- };
11833
- message: string;
11834
- } | {
11835
- /** @enum {string} */
11836
- code: "unpaidReservations";
11837
- /** @enum {string} */
11838
- severity: "warning";
11839
- context: Record<string, never>;
11840
- message: string;
11841
- })[];
11842
- uniqueRef: string;
11843
- currency: string;
11844
- startAt: string;
11845
- endAt: string;
11846
- /** @enum {string} */
11847
- status: "preview" | "draft" | "inReview" | "void" | "published";
11848
- /** @description Value in cents (100 = 1€) */
11849
- total: number;
11850
- financials: {
11851
- /** @description Value in cents (100 = 1€) */
11852
- balanceStart: number;
11853
- /** @description Value in cents (100 = 1€) */
11854
- netRevenue: number;
11855
- /** @description Value in cents (100 = 1€) */
11856
- expenses: number;
11857
- /** @description Value in cents (100 = 1€) */
11858
- netIncome: number;
11859
- /** @description Value in cents (100 = 1€) */
11860
- transfers: number;
11861
- /** @description Value in cents (100 = 1€) */
11862
- balanceEnd: number;
11863
- };
11864
- transfers: {
11865
- id: string;
11866
- date: string;
11867
- total: number;
11868
- totalFormatted: string;
11869
- }[];
11870
- }[];
11871
- pagination: {
11872
- /** @default 100 */
11873
- limit: number;
11874
- /** @default 1 */
11875
- page: number;
11876
- total: number;
11877
- totalPage: number;
11878
- nextPage?: number;
11879
- };
11880
- };
11881
- };
11882
- };
11883
- /** @description Invalid input data */
11884
- 400: {
11885
- headers: {
11886
- [name: string]: unknown;
11887
- };
11888
- content: {
11889
- "application/json": components["schemas"]["error.BAD_REQUEST"];
11890
- };
11891
- };
11892
- /** @description Authorization not provided */
11893
- 401: {
11894
- headers: {
11895
- [name: string]: unknown;
11896
- };
11897
- content: {
11898
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
11899
- };
11900
- };
11901
- /** @description Insufficient access */
11902
- 403: {
11903
- headers: {
11904
- [name: string]: unknown;
11905
- };
11906
- content: {
11907
- "application/json": components["schemas"]["error.FORBIDDEN"];
11908
- };
11909
- };
11910
- /** @description Not found */
11911
- 404: {
11912
- headers: {
11913
- [name: string]: unknown;
11914
- };
11915
- content: {
11916
- "application/json": components["schemas"]["error.NOT_FOUND"];
11917
- };
11918
- };
11919
- /** @description Internal server error */
11920
- 500: {
11921
- headers: {
11922
- [name: string]: unknown;
11923
- };
11924
- content: {
11925
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
11926
- };
11927
- };
11928
- };
11929
- };
11930
- createManagerStatement: {
11931
- parameters: {
11932
- query?: never;
11933
- header?: {
11934
- "X-Team-Id"?: string;
11935
- };
11936
- path?: never;
11937
- cookie?: never;
11938
- };
11939
- requestBody: {
11940
- content: {
11941
- "application/json": {
11942
- /** @description Date in format YYYY-MM */
11943
- month: string;
11944
- /**
11945
- * @default draft
11946
- * @enum {string}
11947
- */
11948
- status?: "draft" | "inReview" | "void" | "published";
11949
- currency?: string;
11950
- };
11951
- };
11952
- };
11953
- responses: {
11954
- /** @description Successful response */
11955
- 200: {
11956
- headers: {
11957
- [name: string]: unknown;
11958
- };
11959
- content: {
11960
- "application/json": {
11961
- data: {
11962
- id?: string | null;
11963
- issues: ({
11964
- /** @enum {string} */
11965
- code: "emptyJournalEntryAccountIds";
11966
- /** @enum {string} */
11967
- severity: "error";
11968
- context: {
11969
- journalEntryIds: string[];
11970
- };
11971
- message: string;
11972
- } | {
11973
- /** @enum {string} */
11974
- code: "netRevenueLayoutMismatch";
11975
- /** @enum {string} */
11976
- severity: "error";
11977
- context: Record<string, never>;
11978
- message: string;
11979
- } | {
11980
- /** @enum {string} */
11981
- code: "listingInactive";
11982
- /** @enum {string} */
11983
- severity: "error";
11984
- context: Record<string, never>;
11985
- message: string;
11986
- } | {
11987
- /** @enum {string} */
11988
- code: "balanceMismatch_start";
11989
- /** @enum {string} */
11990
- severity: "warning";
11991
- context: Record<string, never>;
11992
- message: string;
11993
- } | {
11994
- /** @enum {string} */
11995
- code: "balanceMismatch_end";
11996
- /** @enum {string} */
11997
- severity: "warning";
11998
- context: Record<string, never>;
11999
- message: string;
12000
- } | {
12001
- /** @enum {string} */
12002
- code: "previousMonthJournalEntries";
12003
- /** @enum {string} */
12004
- severity: "warning";
12005
- context: {
12006
- journalEntryIds: string[];
12007
- affected: number;
12008
- };
12009
- message: string;
12010
- } | {
12011
- /** @enum {string} */
12012
- code: "unpaidReservations";
12013
- /** @enum {string} */
12014
- severity: "warning";
12015
- context: Record<string, never>;
12016
- message: string;
12017
- })[];
12018
- uniqueRef: string;
12019
- currency: string;
12020
- startAt: string;
12021
- endAt: string;
12022
- /** @enum {string} */
12023
- status: "preview" | "draft" | "inReview" | "void" | "published";
12024
- /** @description Value in cents (100 = 1€) */
12025
- total: number;
12026
- financials: {
12027
- /** @description Value in cents (100 = 1€) */
12028
- balanceStart: number;
12029
- /** @description Value in cents (100 = 1€) */
12030
- netRevenue: number;
12031
- /** @description Value in cents (100 = 1€) */
12032
- expenses: number;
12033
- /** @description Value in cents (100 = 1€) */
12034
- netIncome: number;
12035
- /** @description Value in cents (100 = 1€) */
12036
- transfers: number;
12037
- /** @description Value in cents (100 = 1€) */
12038
- balanceEnd: number;
12039
- };
12040
- transfers: {
12041
- id: string;
12042
- date: string;
12043
- total: number;
12044
- totalFormatted: string;
12045
- }[];
12046
- journalEntries: {
12047
- id: string;
12048
- txnAt: string;
12049
- description: string;
12050
- centTotal: number;
12051
- reservationId?: string | null;
12052
- transactionId?: string | null;
12053
- ownerStatementId?: string | null;
12054
- currency: string;
12055
- entityType?: string | null;
12056
- status: string;
12057
- listingId?: string | null;
12058
- uniqueRef: string;
12059
- party?: string | null;
12060
- contactId?: string | null;
12061
- listingOwnershipPeriodId?: string | null;
12062
- recurringFeeId?: string | null;
12063
- recurringFeeListingSubscriptionId?: string | null;
12064
- account?: {
12065
- id: string;
12066
- name: string;
12067
- } | null;
12068
- }[];
12069
- /** Format: uuid */
12070
- syncId?: string | null;
12071
- }[];
12072
- };
12073
- };
12074
- };
12075
- /** @description Invalid input data */
12076
- 400: {
12077
- headers: {
12078
- [name: string]: unknown;
12079
- };
12080
- content: {
12081
- "application/json": components["schemas"]["error.BAD_REQUEST"];
12082
- };
12083
- };
12084
- /** @description Authorization not provided */
12085
- 401: {
12086
- headers: {
12087
- [name: string]: unknown;
12088
- };
12089
- content: {
12090
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
12091
- };
12092
- };
12093
- /** @description Insufficient access */
12094
- 403: {
12095
- headers: {
12096
- [name: string]: unknown;
12097
- };
12098
- content: {
12099
- "application/json": components["schemas"]["error.FORBIDDEN"];
12100
- };
12101
- };
12102
- /** @description Internal server error */
12103
- 500: {
12104
- headers: {
12105
- [name: string]: unknown;
12106
- };
12107
- content: {
12108
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
12109
- };
12110
- };
12111
- };
12112
- };
12113
- getManagerStatementsBatch: {
12114
- parameters: {
12115
- query: {
12116
- /** @description Date in format YYYY-MM */
12117
- month: string;
12118
- };
12119
- header?: {
12120
- "X-Team-Id"?: string;
12121
- };
12122
- path?: never;
12123
- cookie?: never;
12124
- };
12125
- requestBody?: never;
12126
- responses: {
12127
- /** @description Successful response */
12128
- 200: {
12129
- headers: {
12130
- [name: string]: unknown;
12131
- };
12132
- content: {
12133
- "application/json": {
12134
- data: {
12135
- id?: string | null;
12136
- issues: ({
12137
- /** @enum {string} */
12138
- code: "emptyJournalEntryAccountIds";
12139
- /** @enum {string} */
12140
- severity: "error";
12141
- context: {
12142
- journalEntryIds: string[];
12143
- };
12144
- message: string;
12145
- } | {
12146
- /** @enum {string} */
12147
- code: "netRevenueLayoutMismatch";
12148
- /** @enum {string} */
12149
- severity: "error";
12150
- context: Record<string, never>;
12151
- message: string;
12152
- } | {
12153
- /** @enum {string} */
12154
- code: "listingInactive";
12155
- /** @enum {string} */
12156
- severity: "error";
12157
- context: Record<string, never>;
12158
- message: string;
12159
- } | {
12160
- /** @enum {string} */
12161
- code: "balanceMismatch_start";
12162
- /** @enum {string} */
12163
- severity: "warning";
12164
- context: Record<string, never>;
12165
- message: string;
12166
- } | {
12167
- /** @enum {string} */
12168
- code: "balanceMismatch_end";
12169
- /** @enum {string} */
12170
- severity: "warning";
12171
- context: Record<string, never>;
12172
- message: string;
12173
- } | {
12174
- /** @enum {string} */
12175
- code: "previousMonthJournalEntries";
12176
- /** @enum {string} */
12177
- severity: "warning";
12178
- context: {
12179
- journalEntryIds: string[];
12180
- affected: number;
12181
- };
12182
- message: string;
12183
- } | {
12184
- /** @enum {string} */
12185
- code: "unpaidReservations";
12186
- /** @enum {string} */
12187
- severity: "warning";
12188
- context: Record<string, never>;
12189
- message: string;
12190
- })[];
12191
- uniqueRef: string;
12192
- currency: string;
12193
- startAt: string;
12194
- endAt: string;
12195
- /** @enum {string} */
12196
- status: "preview" | "draft" | "inReview" | "void" | "published";
12197
- /** @description Value in cents (100 = 1€) */
12198
- total: number;
12199
- financials: {
12200
- /** @description Value in cents (100 = 1€) */
12201
- balanceStart: number;
12202
- /** @description Value in cents (100 = 1€) */
12203
- netRevenue: number;
12204
- /** @description Value in cents (100 = 1€) */
12205
- expenses: number;
12206
- /** @description Value in cents (100 = 1€) */
12207
- netIncome: number;
12208
- /** @description Value in cents (100 = 1€) */
12209
- transfers: number;
12210
- /** @description Value in cents (100 = 1€) */
12211
- balanceEnd: number;
12212
- };
12213
- transfers: {
12214
- id: string;
12215
- date: string;
12216
- total: number;
12217
- totalFormatted: string;
12218
- }[];
12219
- journalEntries: {
12220
- id: string;
12221
- txnAt: string;
12222
- description: string;
12223
- centTotal: number;
12224
- reservationId?: string | null;
12225
- transactionId?: string | null;
12226
- ownerStatementId?: string | null;
12227
- currency: string;
12228
- entityType?: string | null;
12229
- status: string;
12230
- listingId?: string | null;
12231
- uniqueRef: string;
12232
- party?: string | null;
12233
- contactId?: string | null;
12234
- listingOwnershipPeriodId?: string | null;
12235
- recurringFeeId?: string | null;
12236
- recurringFeeListingSubscriptionId?: string | null;
12237
- account?: {
12238
- id: string;
12239
- name: string;
12240
- } | null;
12241
- }[];
12242
- }[];
12243
- };
12244
- };
12245
- };
12246
- /** @description Invalid input data */
12247
- 400: {
12248
- headers: {
12249
- [name: string]: unknown;
12250
- };
12251
- content: {
12252
- "application/json": components["schemas"]["error.BAD_REQUEST"];
12253
- };
12254
- };
12255
- /** @description Authorization not provided */
12256
- 401: {
12257
- headers: {
12258
- [name: string]: unknown;
12259
- };
12260
- content: {
12261
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
12262
- };
12263
- };
12264
- /** @description Insufficient access */
12265
- 403: {
12266
- headers: {
12267
- [name: string]: unknown;
12268
- };
12269
- content: {
12270
- "application/json": components["schemas"]["error.FORBIDDEN"];
12271
- };
12272
- };
12273
- /** @description Not found */
12274
- 404: {
12275
- headers: {
12276
- [name: string]: unknown;
12277
- };
12278
- content: {
12279
- "application/json": components["schemas"]["error.NOT_FOUND"];
12280
- };
12281
- };
12282
- /** @description Internal server error */
12283
- 500: {
12284
- headers: {
12285
- [name: string]: unknown;
12286
- };
12287
- content: {
12288
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
12289
- };
12290
- };
12291
- };
12292
- };
12293
- payManagerStatement: {
12294
- parameters: {
12295
- query?: never;
12296
- header?: {
12297
- "X-Team-Id"?: string;
12298
- };
12299
- path?: never;
12300
- cookie?: never;
12301
- };
12302
- requestBody: {
12303
- content: {
12304
- "application/json": {
12305
- date: string;
12306
- /** @description Value in cents (100 = 1€) */
12307
- amount: number;
12308
- lineAccountId: string;
12309
- };
12310
- };
12311
- };
12312
- responses: {
12313
- /** @description Successful response */
12314
- 200: {
12315
- headers: {
12316
- [name: string]: unknown;
12317
- };
12318
- content: {
12319
- "application/json": {
12320
- description: string;
12321
- uniqueRef?: string | null;
12322
- /** @enum {string} */
12323
- type: "deposit" | "expense" | "transfer";
12324
- date: string;
12325
- lines: {
12326
- uniqueRef?: string | null;
12327
- description: string;
12328
- /** @description Value in cents (100 = 1€) */
12329
- amount: number;
12330
- /** Format: uuid */
12331
- ownerStatementId?: string | null;
12332
- matchers?: {
12333
- confirmationCode?: string | null;
12334
- customerId?: string | null;
12335
- lineType?: string | null;
12336
- } | null;
12337
- id: string;
12338
- issues: {
12339
- /** @enum {string} */
12340
- code: "unassignedAccount";
12341
- /** @enum {string} */
12342
- severity: "error";
12343
- context: {
12344
- lineType: string;
12345
- };
12346
- }[];
12347
- recurringTemplate?: {
12348
- id: string;
12349
- } | null;
12350
- total: number;
12351
- listing?: {
12352
- /** Format: uuid */
12353
- id: string;
12354
- name: string;
12355
- uniqueRef?: string | null;
12356
- } | null;
12357
- reservation?: {
12358
- id: string;
12359
- confirmationCode?: string | null;
12360
- uniqueRef: string;
12361
- /** @enum {string} */
12362
- status: "booked" | "canceled" | "inactive";
12363
- checkIn?: string | null;
12364
- checkOut?: string | null;
12365
- } | null;
12366
- account?: {
12367
- id: string;
12368
- name: string;
12369
- /** @enum {string|null} */
12370
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
12371
- } | null;
12372
- /** @enum {string} */
12373
- party: "owners" | "manager";
12374
- contact?: {
12375
- /** Format: uuid */
12376
- id: string;
12377
- name?: string | null;
12378
- uniqueRef?: string | null;
12379
- } | null;
12380
- matchStatus?: string | null;
12381
- markup?: {
12382
- /** @description Value in cents (100 = 1€) */
12383
- amount?: number | null;
12384
- /**
12385
- * @default excluded
12386
- * @enum {string|null}
12387
- */
12388
- taxBehavior: "excluded" | "included" | null;
12389
- taxRate?: {
12390
- id: string;
12391
- name: string;
12392
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
12393
- basisPoints: number;
12394
- } | null;
12395
- } | null;
12396
- }[];
12397
- /** Format: uuid */
12398
- recurringTemplateId?: string | null;
12399
- /** @enum {string} */
12400
- status: "active" | "inactive";
12401
- matchers?: {
12402
- bankAccountRef?: string | null;
12403
- } | null;
12404
- id: string;
12405
- issues: {
12406
- /** @enum {string} */
12407
- code: "line_unassignedAccount";
12408
- /** @enum {string} */
12409
- severity: "error";
12410
- context: Record<string, never>;
12411
- }[];
12412
- currency: string;
12413
- /** @description Value in cents (100 = 1€) */
12414
- amount: number;
12415
- recurringTemplate?: {
12416
- id: string;
12417
- } | null;
12418
- account?: {
12419
- id: string;
12420
- name: string;
12421
- /** @enum {string|null} */
12422
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
12423
- bankAccount?: {
12424
- /** Format: uuid */
12425
- id?: string | null;
12426
- name: string;
12427
- } | null;
12428
- } | null;
12429
- payment: {
12430
- bankRecordIds: string[];
12431
- /** @enum {string} */
12432
- status: "unpaid" | "underpaid" | "overpaid" | "paid";
12433
- date?: string | null;
12434
- };
12435
- connection?: {
12436
- /** Format: uuid */
12437
- id: string;
12438
- name: string;
12439
- /** @enum {string} */
12440
- status: "active" | "inactive";
12441
- uniqueRef?: string | null;
12442
- app: {
12443
- id: string;
12444
- name: string;
12445
- icon?: string | null;
12446
- };
12447
- } | null;
12448
- contact?: {
12449
- /** Format: uuid */
12450
- id: string;
12451
- name?: string | null;
12452
- uniqueRef?: string | null;
12453
- } | null;
12454
- source?: {
12455
- /** Format: uuid */
12456
- id: string;
12457
- type: string;
12458
- /** @enum {string|null} */
12459
- status?: "active" | "inactive" | null;
12460
- } | null;
12461
- matchStatus?: string | null;
12462
- };
12463
- };
12464
- };
12465
- /** @description Invalid input data */
12466
- 400: {
12467
- headers: {
12468
- [name: string]: unknown;
12469
- };
12470
- content: {
12471
- "application/json": components["schemas"]["error.BAD_REQUEST"];
12472
- };
12473
- };
12474
- /** @description Authorization not provided */
12475
- 401: {
12476
- headers: {
12477
- [name: string]: unknown;
12478
- };
12479
- content: {
12480
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
12481
- };
12482
- };
12483
- /** @description Insufficient access */
12484
- 403: {
12485
- headers: {
12486
- [name: string]: unknown;
12487
- };
12488
- content: {
12489
- "application/json": components["schemas"]["error.FORBIDDEN"];
12490
- };
12491
- };
12492
- /** @description Internal server error */
12493
- 500: {
12494
- headers: {
12495
- [name: string]: unknown;
12496
- };
12497
- content: {
12498
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
12499
- };
12500
- };
12501
- };
12502
- };
12503
- updateManagerStatement: {
12504
- parameters: {
12505
- query?: never;
12506
- header?: {
12507
- "X-Team-Id"?: string;
12508
- };
12509
- path: {
12510
- id: string;
12511
- };
12512
- cookie?: never;
12513
- };
12514
- requestBody: {
12515
- content: {
12516
- "application/json": {
12517
- /** @enum {string} */
12518
- status: "draft" | "inReview" | "void" | "published";
12519
- sync?: boolean | null;
12520
- };
12521
- };
12522
- };
12523
- responses: {
12524
- /** @description Successful response */
12525
- 200: {
12526
- headers: {
12527
- [name: string]: unknown;
12528
- };
12529
- content: {
12530
- "application/json": {
12531
- id?: string | null;
12532
- issues: ({
12533
- /** @enum {string} */
12534
- code: "emptyJournalEntryAccountIds";
12535
- /** @enum {string} */
12536
- severity: "error";
12537
- context: {
12538
- journalEntryIds: string[];
12539
- };
12540
- message: string;
12541
- } | {
12542
- /** @enum {string} */
12543
- code: "netRevenueLayoutMismatch";
12544
- /** @enum {string} */
12545
- severity: "error";
12546
- context: Record<string, never>;
12547
- message: string;
12548
- } | {
12549
- /** @enum {string} */
12550
- code: "listingInactive";
12551
- /** @enum {string} */
12552
- severity: "error";
12553
- context: Record<string, never>;
12554
- message: string;
12555
- } | {
12556
- /** @enum {string} */
12557
- code: "balanceMismatch_start";
12558
- /** @enum {string} */
12559
- severity: "warning";
12560
- context: Record<string, never>;
12561
- message: string;
12562
- } | {
12563
- /** @enum {string} */
12564
- code: "balanceMismatch_end";
12565
- /** @enum {string} */
12566
- severity: "warning";
12567
- context: Record<string, never>;
12568
- message: string;
12569
- } | {
12570
- /** @enum {string} */
12571
- code: "previousMonthJournalEntries";
12572
- /** @enum {string} */
12573
- severity: "warning";
12574
- context: {
12575
- journalEntryIds: string[];
12576
- affected: number;
12577
- };
12578
- message: string;
12579
- } | {
11372
+ id?: string | null;
11373
+ name: string;
11374
+ locked?: boolean | null;
11375
+ /** @enum {string|null} */
11376
+ visible?: "all" | "manager" | "none" | null;
12580
11377
  /** @enum {string} */
12581
- code: "unpaidReservations";
11378
+ type: "accounts";
11379
+ value: string[];
11380
+ })[];
11381
+ }[];
11382
+ otherSections?: {
11383
+ id?: string | null;
11384
+ name: string;
11385
+ locked?: boolean | null;
11386
+ /** @enum {string|null} */
11387
+ visible?: "all" | "manager" | "none" | null;
11388
+ columns: ({
11389
+ id?: string | null;
11390
+ name: string;
11391
+ locked?: boolean | null;
11392
+ /** @enum {string|null} */
11393
+ visible?: "all" | "manager" | "none" | null;
12582
11394
  /** @enum {string} */
12583
- severity: "warning";
12584
- context: Record<string, never>;
12585
- message: string;
11395
+ type: "field";
11396
+ value: string;
11397
+ } | {
11398
+ id?: string | null;
11399
+ name: string;
11400
+ locked?: boolean | null;
11401
+ /** @enum {string|null} */
11402
+ visible?: "all" | "manager" | "none" | null;
11403
+ /** @enum {string} */
11404
+ type: "accounts";
11405
+ value: string[];
12586
11406
  })[];
12587
- uniqueRef: string;
12588
- currency: string;
12589
- startAt: string;
12590
- endAt: string;
12591
- /** @enum {string} */
12592
- status: "preview" | "draft" | "inReview" | "void" | "published";
12593
- /** @description Value in cents (100 = 1€) */
12594
- total: number;
12595
- financials: {
12596
- /** @description Value in cents (100 = 1€) */
12597
- balanceStart: number;
12598
- /** @description Value in cents (100 = 1€) */
12599
- netRevenue: number;
12600
- /** @description Value in cents (100 = 1€) */
12601
- expenses: number;
12602
- /** @description Value in cents (100 = 1€) */
12603
- netIncome: number;
12604
- /** @description Value in cents (100 = 1€) */
12605
- transfers: number;
12606
- /** @description Value in cents (100 = 1€) */
12607
- balanceEnd: number;
12608
- };
12609
- transfers: {
11407
+ }[];
11408
+ };
11409
+ };
11410
+ };
11411
+ responses: {
11412
+ /** @description Successful response */
11413
+ 200: {
11414
+ headers: {
11415
+ [name: string]: unknown;
11416
+ };
11417
+ content: {
11418
+ "application/json": {
11419
+ name: string;
11420
+ /** @enum {string|null} */
11421
+ summaryType?: "default" | "invoice" | null;
11422
+ isDefault: boolean;
11423
+ netRevenueSections: {
11424
+ id?: string | null;
11425
+ name: string;
11426
+ locked?: boolean | null;
11427
+ /** @enum {string|null} */
11428
+ visible?: "all" | "manager" | "none" | null;
11429
+ columns: ({
11430
+ id?: string | null;
11431
+ name: string;
11432
+ locked?: boolean | null;
11433
+ /** @enum {string|null} */
11434
+ visible?: "all" | "manager" | "none" | null;
11435
+ /** @enum {string} */
11436
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
11437
+ value: string;
11438
+ } | {
11439
+ id?: string | null;
11440
+ name: string;
11441
+ locked?: boolean | null;
11442
+ /** @enum {string|null} */
11443
+ visible?: "all" | "manager" | "none" | null;
11444
+ /** @enum {string} */
11445
+ type: "accounts";
11446
+ value: string[];
11447
+ })[];
11448
+ }[];
11449
+ otherSections: {
11450
+ id?: string | null;
11451
+ name: string;
11452
+ locked?: boolean | null;
11453
+ /** @enum {string|null} */
11454
+ visible?: "all" | "manager" | "none" | null;
11455
+ columns: ({
11456
+ id?: string | null;
11457
+ name: string;
11458
+ locked?: boolean | null;
11459
+ /** @enum {string|null} */
11460
+ visible?: "all" | "manager" | "none" | null;
11461
+ /** @enum {string} */
11462
+ type: "field";
11463
+ value: string;
11464
+ } | {
11465
+ id?: string | null;
11466
+ name: string;
11467
+ locked?: boolean | null;
11468
+ /** @enum {string|null} */
11469
+ visible?: "all" | "manager" | "none" | null;
11470
+ /** @enum {string} */
11471
+ type: "accounts";
11472
+ value: string[];
11473
+ })[];
11474
+ }[];
11475
+ id: string;
11476
+ activeListings: {
12610
11477
  id: string;
12611
- date: string;
12612
- total: number;
12613
- totalFormatted: string;
11478
+ name?: string | null;
12614
11479
  }[];
12615
- journalEntries: {
11480
+ linkedAccounts: {
11481
+ name: string;
11482
+ /** @enum {string|null} */
11483
+ status?: "active" | "inactive" | null;
11484
+ /** @enum {string} */
11485
+ type: "ledger" | "bank" | "recurringFee" | "nonPosting";
12616
11486
  id: string;
12617
- txnAt: string;
12618
- description: string;
12619
- centTotal: number;
12620
- reservationId?: string | null;
12621
- transactionId?: string | null;
12622
- ownerStatementId?: string | null;
12623
- currency: string;
12624
- entityType?: string | null;
12625
- status: string;
12626
- listingId?: string | null;
12627
- uniqueRef: string;
12628
- party?: string | null;
12629
- contactId?: string | null;
12630
- listingOwnershipPeriodId?: string | null;
12631
- recurringFeeId?: string | null;
12632
- recurringFeeListingSubscriptionId?: string | null;
12633
- account?: {
11487
+ offsetAccount?: {
12634
11488
  id: string;
12635
11489
  name: string;
11490
+ /** @enum {string|null} */
11491
+ type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
11492
+ } | null;
11493
+ 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")[];
11494
+ category?: {
11495
+ id: string;
11496
+ name: string;
11497
+ /** @enum {string|null} */
11498
+ classification?: "asset" | "liability" | "revenue" | "expense" | null;
11499
+ } | null;
11500
+ banking?: {
11501
+ /** @enum {string|null} */
11502
+ category?: "trust" | "operating" | "external" | null;
11503
+ /** @enum {string|null} */
11504
+ type?: "deposit" | "creditCard" | null;
11505
+ last4?: string | null;
11506
+ connections: {
11507
+ id: string;
11508
+ name: string;
11509
+ connection?: {
11510
+ id: string;
11511
+ icon?: string | null;
11512
+ } | null;
11513
+ /** @enum {string|null} */
11514
+ status?: "active" | "inactive" | null;
11515
+ currentSync?: {
11516
+ /** @enum {string} */
11517
+ status: "queued" | "started" | "completed" | "failed" | "canceled";
11518
+ createdAt: string;
11519
+ updatedAt: string;
11520
+ message?: string | null;
11521
+ } | null;
11522
+ source?: {
11523
+ /** Format: uuid */
11524
+ id: string;
11525
+ type: string;
11526
+ /** @enum {string|null} */
11527
+ status?: "active" | "inactive" | null;
11528
+ } | null;
11529
+ }[];
11530
+ bankRecords: {
11531
+ reconciled: number;
11532
+ unreconciled: number;
11533
+ total: number;
11534
+ latestCreatedAt?: string | null;
11535
+ };
11536
+ balance?: {
11537
+ openingDate?: string | null;
11538
+ opening: number;
11539
+ ending: number;
11540
+ } | null;
12636
11541
  } | null;
12637
11542
  }[];
12638
- /** Format: uuid */
12639
- syncId?: string | null;
11543
+ createdAt: string;
11544
+ systemSections: {
11545
+ id?: string | null;
11546
+ name: string;
11547
+ locked?: boolean | null;
11548
+ /** @enum {string|null} */
11549
+ visible?: "all" | "manager" | "none" | null;
11550
+ columns: ({
11551
+ id?: string | null;
11552
+ name: string;
11553
+ locked?: boolean | null;
11554
+ /** @enum {string|null} */
11555
+ visible?: "all" | "manager" | "none" | null;
11556
+ /** @enum {string} */
11557
+ type: "field";
11558
+ value: string;
11559
+ } | {
11560
+ id?: string | null;
11561
+ name: string;
11562
+ locked?: boolean | null;
11563
+ /** @enum {string|null} */
11564
+ visible?: "all" | "manager" | "none" | null;
11565
+ /** @enum {string} */
11566
+ type: "accounts";
11567
+ value: string[];
11568
+ })[];
11569
+ }[];
12640
11570
  };
12641
11571
  };
12642
11572
  };
@@ -12687,11 +11617,9 @@ export interface operations {
12687
11617
  };
12688
11618
  };
12689
11619
  };
12690
- deleteManagerStatement: {
11620
+ deleteStatementLayout: {
12691
11621
  parameters: {
12692
- query?: {
12693
- onLocked?: "error" | "unlockAndDelete";
12694
- };
11622
+ query?: never;
12695
11623
  header?: {
12696
11624
  "X-Team-Id"?: string;
12697
11625
  };
@@ -23763,6 +22691,7 @@ export interface operations {
23763
22691
  netRevenue: number;
23764
22692
  expenses: number;
23765
22693
  netIncome: number;
22694
+ adjustments: number;
23766
22695
  transfers: number;
23767
22696
  };
23768
22697
  }[];
@@ -23847,6 +22776,7 @@ export interface operations {
23847
22776
  netRevenue: number;
23848
22777
  expenses: number;
23849
22778
  netIncome: number;
22779
+ adjustments: number;
23850
22780
  transfers: number;
23851
22781
  };
23852
22782
  accounts: {
@@ -23864,6 +22794,28 @@ export interface operations {
23864
22794
  /** @description Value in cents (100 = 1€) */
23865
22795
  centTotal: number;
23866
22796
  }[];
22797
+ sections: {
22798
+ /** @enum {string} */
22799
+ id: "net-revenue" | "expenses" | "adjustments" | "transfers" | "other";
22800
+ name: string;
22801
+ accounts: {
22802
+ id: string;
22803
+ name: string;
22804
+ /** @enum {string} */
22805
+ type: "ledger" | "bank" | "recurringFee" | "nonPosting";
22806
+ category: {
22807
+ id: string;
22808
+ name: string;
22809
+ /** @enum {string|null} */
22810
+ classification?: "asset" | "liability" | "revenue" | "expense" | null;
22811
+ } | null;
22812
+ 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")[];
22813
+ /** @description Value in cents (100 = 1€) */
22814
+ centTotal: number;
22815
+ }[];
22816
+ /** @description Value in cents (100 = 1€) */
22817
+ centTotal: number;
22818
+ }[];
23867
22819
  };
23868
22820
  };
23869
22821
  };