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