@vrplatform/api 1.3.1-3732 → 1.3.1-3756

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.
@@ -607,6 +607,40 @@ export interface paths {
607
607
  patch?: never;
608
608
  trace?: never;
609
609
  };
610
+ "/connections/pms-cutover/apply": {
611
+ parameters: {
612
+ query?: never;
613
+ header?: never;
614
+ path?: never;
615
+ cookie?: never;
616
+ };
617
+ get?: never;
618
+ put?: never;
619
+ /** @description Apply a PMS migration cutover */
620
+ post: operations["applyPmsConnectionCutover"];
621
+ delete?: never;
622
+ options?: never;
623
+ head?: never;
624
+ patch?: never;
625
+ trace?: never;
626
+ };
627
+ "/connections/pms-cutover/preview": {
628
+ parameters: {
629
+ query?: never;
630
+ header?: never;
631
+ path?: never;
632
+ cookie?: never;
633
+ };
634
+ get?: never;
635
+ put?: never;
636
+ /** @description Preview a PMS migration cutover */
637
+ post: operations["previewPmsConnectionCutover"];
638
+ delete?: never;
639
+ options?: never;
640
+ head?: never;
641
+ patch?: never;
642
+ trace?: never;
643
+ };
610
644
  "/connections/{id}": {
611
645
  parameters: {
612
646
  query?: never;
@@ -1322,6 +1356,23 @@ export interface paths {
1322
1356
  patch?: never;
1323
1357
  trace?: never;
1324
1358
  };
1359
+ "/me/notifications": {
1360
+ parameters: {
1361
+ query?: never;
1362
+ header?: never;
1363
+ path?: never;
1364
+ cookie?: never;
1365
+ };
1366
+ get?: never;
1367
+ /** @description Update notifications for the authenticated user for the selected team */
1368
+ put: operations["updateMeNotifications"];
1369
+ post?: never;
1370
+ delete?: never;
1371
+ options?: never;
1372
+ head?: never;
1373
+ patch?: never;
1374
+ trace?: never;
1375
+ };
1325
1376
  "/members": {
1326
1377
  parameters: {
1327
1378
  query?: never;
@@ -3167,6 +3218,23 @@ export interface paths {
3167
3218
  patch?: never;
3168
3219
  trace?: never;
3169
3220
  };
3221
+ "/teams/resolve": {
3222
+ parameters: {
3223
+ query?: never;
3224
+ header?: never;
3225
+ path?: never;
3226
+ cookie?: never;
3227
+ };
3228
+ /** @description Resolve a team by slug */
3229
+ get: operations["getTeamsResolve"];
3230
+ put?: never;
3231
+ post?: never;
3232
+ delete?: never;
3233
+ options?: never;
3234
+ head?: never;
3235
+ patch?: never;
3236
+ trace?: never;
3237
+ };
3170
3238
  "/teams/{id}": {
3171
3239
  parameters: {
3172
3240
  query?: never;
@@ -7856,6 +7924,8 @@ export interface operations {
7856
7924
  getBankRecords: {
7857
7925
  parameters: {
7858
7926
  query?: {
7927
+ /** @description Comma-separated bank record IDs. */
7928
+ ids?: string;
7859
7929
  status?: "active" | "inactive";
7860
7930
  search?: string;
7861
7931
  /** @description Amount in cents, also accepts ranges like 100...200 */
@@ -8310,6 +8380,8 @@ export interface operations {
8310
8380
  getBankRecordsCsv: {
8311
8381
  parameters: {
8312
8382
  query?: {
8383
+ /** @description Comma-separated bank record IDs. */
8384
+ ids?: string;
8313
8385
  status?: "active" | "inactive";
8314
8386
  search?: string;
8315
8387
  /** @description Amount in cents, also accepts ranges like 100...200 */
@@ -10902,6 +10974,8 @@ export interface operations {
10902
10974
  name: string;
10903
10975
  /** @enum {string} */
10904
10976
  status: "active" | "inactive";
10977
+ accountingStartAt?: string | null;
10978
+ accountingEndAt?: string | null;
10905
10979
  uniqueRef?: string | null;
10906
10980
  app: {
10907
10981
  id: string;
@@ -11059,6 +11133,8 @@ export interface operations {
11059
11133
  credentials?: {
11060
11134
  [key: string]: unknown;
11061
11135
  };
11136
+ accountingStartAt?: string | null;
11137
+ accountingEndAt?: string | null;
11062
11138
  };
11063
11139
  };
11064
11140
  };
@@ -11075,6 +11151,8 @@ export interface operations {
11075
11151
  name: string;
11076
11152
  /** @enum {string} */
11077
11153
  status: "active" | "inactive";
11154
+ accountingStartAt?: string | null;
11155
+ accountingEndAt?: string | null;
11078
11156
  uniqueRef?: string | null;
11079
11157
  app: {
11080
11158
  id: string;
@@ -11454,16 +11532,24 @@ export interface operations {
11454
11532
  };
11455
11533
  };
11456
11534
  };
11457
- getConnection: {
11535
+ applyPmsConnectionCutover: {
11458
11536
  parameters: {
11459
11537
  query?: never;
11460
11538
  header?: never;
11461
- path: {
11462
- id: string;
11463
- };
11539
+ path?: never;
11464
11540
  cookie?: never;
11465
11541
  };
11466
- requestBody?: never;
11542
+ requestBody?: {
11543
+ content: {
11544
+ "application/json": {
11545
+ /** Format: uuid */
11546
+ sourceConnectionId: string;
11547
+ /** Format: uuid */
11548
+ targetConnectionId: string;
11549
+ cutoverAt: string;
11550
+ };
11551
+ };
11552
+ };
11467
11553
  responses: {
11468
11554
  /** @description Successful response */
11469
11555
  200: {
@@ -11472,169 +11558,36 @@ export interface operations {
11472
11558
  };
11473
11559
  content: {
11474
11560
  "application/json": {
11475
- /** Format: uuid */
11476
- id: string;
11477
- name: string;
11561
+ cutoverAt: string;
11478
11562
  /** @enum {string} */
11479
- status: "active" | "inactive";
11480
- uniqueRef?: string | null;
11481
- app: {
11563
+ revenueRecognition: "checkIn" | "checkOut" | "bookedAt" | "proRata";
11564
+ sourceConnection: {
11565
+ /** Format: uuid */
11482
11566
  id: string;
11483
- /** @enum {string} */
11484
- type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
11485
11567
  name: string;
11486
- icon?: string | null;
11487
- importers?: string[] | null;
11488
- extractors?: string[] | null;
11568
+ accountingStartAt?: string | null;
11569
+ accountingEndAt?: string | null;
11489
11570
  };
11490
- /**
11491
- * Format: date-time
11492
- * @description Timestamp string with date, time, milliseconds, and timezone.
11493
- * @example 2024-01-15T12:30:00.000+00:00
11494
- */
11495
- createdAt: string;
11496
- /**
11497
- * Format: date-time
11498
- * @description Timestamp string with date, time, milliseconds, and timezone.
11499
- * @example 2024-01-15T12:30:00.000+00:00
11500
- */
11501
- updatedAt: string;
11502
- isErrorState: boolean;
11503
- currentSync?: {
11504
- /** @enum {string} */
11505
- status: "queued" | "started" | "completed" | "failed" | "canceled";
11506
- /**
11507
- * Format: date-time
11508
- * @description Timestamp string with date, time, milliseconds, and timezone.
11509
- * @example 2024-01-15T12:30:00.000+00:00
11510
- */
11511
- createdAt: string;
11512
- /**
11513
- * Format: date-time
11514
- * @description Timestamp string with date, time, milliseconds, and timezone.
11515
- * @example 2024-01-15T12:30:00.000+00:00
11516
- */
11517
- updatedAt: string;
11518
- message?: string | null;
11519
- } | null;
11520
- enabledFlows: {
11571
+ targetConnection: {
11521
11572
  /** Format: uuid */
11522
11573
  id: string;
11523
- title: string;
11524
- isPublic: boolean;
11525
- type: ("push" | "pull") | null;
11526
- }[];
11527
- };
11528
- };
11529
- };
11530
- /** @description Bad request */
11531
- 400: {
11532
- headers: {
11533
- [name: string]: unknown;
11534
- };
11535
- content: {
11536
- "application/json": {
11537
- code: string;
11538
- message: string;
11539
- issues?: {
11540
- message: string;
11541
- }[];
11542
- context?: unknown;
11543
- };
11544
- };
11545
- };
11546
- /** @description Unauthorized */
11547
- 401: {
11548
- headers: {
11549
- [name: string]: unknown;
11550
- };
11551
- content: {
11552
- "application/json": {
11553
- code: string;
11554
- message: string;
11555
- issues?: {
11556
- message: string;
11557
- }[];
11558
- context?: unknown;
11559
- };
11560
- };
11561
- };
11562
- /** @description Forbidden */
11563
- 403: {
11564
- headers: {
11565
- [name: string]: unknown;
11566
- };
11567
- content: {
11568
- "application/json": {
11569
- code: string;
11570
- message: string;
11571
- issues?: {
11572
- message: string;
11573
- }[];
11574
- context?: unknown;
11575
- };
11576
- };
11577
- };
11578
- /** @description Not found */
11579
- 404: {
11580
- headers: {
11581
- [name: string]: unknown;
11582
- };
11583
- content: {
11584
- "application/json": {
11585
- code: string;
11586
- message: string;
11587
- issues?: {
11588
- message: string;
11589
- }[];
11590
- context?: unknown;
11591
- };
11592
- };
11593
- };
11594
- /** @description Internal server error */
11595
- 500: {
11596
- headers: {
11597
- [name: string]: unknown;
11598
- };
11599
- content: {
11600
- "application/json": {
11601
- code: string;
11602
- message: string;
11603
- issues?: {
11604
- message: string;
11605
- }[];
11606
- context?: unknown;
11607
- };
11608
- };
11609
- };
11610
- };
11611
- };
11612
- deleteConnection: {
11613
- parameters: {
11614
- query?: {
11615
- onLocked?: "error" | "archive";
11616
- };
11617
- header?: never;
11618
- path: {
11619
- id: string;
11620
- };
11621
- cookie?: never;
11622
- };
11623
- requestBody?: {
11624
- content: {
11625
- "application/json": Record<string, never>;
11626
- };
11627
- };
11628
- responses: {
11629
- /** @description Successful response */
11630
- 200: {
11631
- headers: {
11632
- [name: string]: unknown;
11633
- };
11634
- content: {
11635
- "application/json": {
11636
- /** @enum {string} */
11637
- status: "deleted" | "archived";
11574
+ name: string;
11575
+ accountingStartAt?: string | null;
11576
+ accountingEndAt?: string | null;
11577
+ };
11578
+ proposed: {
11579
+ sourceAccountingEndAt: string;
11580
+ targetAccountingStartAt: string;
11581
+ };
11582
+ impactedReservations: {
11583
+ sourceCount: number;
11584
+ targetCount: number;
11585
+ refreshCount: number;
11586
+ lockedCount: number;
11587
+ };
11588
+ /** @constant */
11589
+ applied: true;
11590
+ queuedReservationRefreshCount: number;
11638
11591
  };
11639
11592
  };
11640
11593
  };
@@ -11720,21 +11673,21 @@ export interface operations {
11720
11673
  };
11721
11674
  };
11722
11675
  };
11723
- syncConnection: {
11676
+ previewPmsConnectionCutover: {
11724
11677
  parameters: {
11725
11678
  query?: never;
11726
11679
  header?: never;
11727
- path: {
11728
- id: string;
11729
- };
11680
+ path?: never;
11730
11681
  cookie?: never;
11731
11682
  };
11732
11683
  requestBody?: {
11733
11684
  content: {
11734
11685
  "application/json": {
11735
- uniqueRef: string;
11736
- /** @enum {string} */
11737
- type: "reservation" | "listing" | "payout";
11686
+ /** Format: uuid */
11687
+ sourceConnectionId: string;
11688
+ /** Format: uuid */
11689
+ targetConnectionId: string;
11690
+ cutoverAt: string;
11738
11691
  };
11739
11692
  };
11740
11693
  };
@@ -11745,44 +11698,450 @@ export interface operations {
11745
11698
  [name: string]: unknown;
11746
11699
  };
11747
11700
  content: {
11748
- "application/json": ({
11749
- /** Format: uuid */
11750
- id: string;
11751
- /** @constant */
11752
- status: "completed";
11753
- message: string;
11754
- /** @constant */
11755
- type: "reservation";
11756
- /** Format: uuid */
11757
- reservationId: string;
11758
- } | {
11759
- /** Format: uuid */
11760
- id: string;
11761
- /** @constant */
11762
- status: "completed";
11763
- message: string;
11764
- /** @constant */
11765
- type: "listing";
11766
- /** Format: uuid */
11767
- listingId: string;
11768
- } | {
11769
- /** Format: uuid */
11770
- id: string;
11771
- /** @constant */
11772
- status: "completed";
11773
- message: string;
11774
- /** @constant */
11775
- type: "payout";
11776
- /** Format: uuid */
11777
- paymentId: string;
11778
- }) | {
11779
- /** Format: uuid */
11780
- id: string;
11781
- /** @constant */
11782
- status: "failed";
11783
- message: string;
11701
+ "application/json": {
11702
+ cutoverAt: string;
11784
11703
  /** @enum {string} */
11785
- type: "reservation" | "listing" | "payout";
11704
+ revenueRecognition: "checkIn" | "checkOut" | "bookedAt" | "proRata";
11705
+ sourceConnection: {
11706
+ /** Format: uuid */
11707
+ id: string;
11708
+ name: string;
11709
+ accountingStartAt?: string | null;
11710
+ accountingEndAt?: string | null;
11711
+ };
11712
+ targetConnection: {
11713
+ /** Format: uuid */
11714
+ id: string;
11715
+ name: string;
11716
+ accountingStartAt?: string | null;
11717
+ accountingEndAt?: string | null;
11718
+ };
11719
+ proposed: {
11720
+ sourceAccountingEndAt: string;
11721
+ targetAccountingStartAt: string;
11722
+ };
11723
+ impactedReservations: {
11724
+ sourceCount: number;
11725
+ targetCount: number;
11726
+ refreshCount: number;
11727
+ lockedCount: number;
11728
+ };
11729
+ };
11730
+ };
11731
+ };
11732
+ /** @description Bad request */
11733
+ 400: {
11734
+ headers: {
11735
+ [name: string]: unknown;
11736
+ };
11737
+ content: {
11738
+ "application/json": {
11739
+ code: string;
11740
+ message: string;
11741
+ issues?: {
11742
+ message: string;
11743
+ }[];
11744
+ context?: unknown;
11745
+ };
11746
+ };
11747
+ };
11748
+ /** @description Unauthorized */
11749
+ 401: {
11750
+ headers: {
11751
+ [name: string]: unknown;
11752
+ };
11753
+ content: {
11754
+ "application/json": {
11755
+ code: string;
11756
+ message: string;
11757
+ issues?: {
11758
+ message: string;
11759
+ }[];
11760
+ context?: unknown;
11761
+ };
11762
+ };
11763
+ };
11764
+ /** @description Forbidden */
11765
+ 403: {
11766
+ headers: {
11767
+ [name: string]: unknown;
11768
+ };
11769
+ content: {
11770
+ "application/json": {
11771
+ code: string;
11772
+ message: string;
11773
+ issues?: {
11774
+ message: string;
11775
+ }[];
11776
+ context?: unknown;
11777
+ };
11778
+ };
11779
+ };
11780
+ /** @description Not found */
11781
+ 404: {
11782
+ headers: {
11783
+ [name: string]: unknown;
11784
+ };
11785
+ content: {
11786
+ "application/json": {
11787
+ code: string;
11788
+ message: string;
11789
+ issues?: {
11790
+ message: string;
11791
+ }[];
11792
+ context?: unknown;
11793
+ };
11794
+ };
11795
+ };
11796
+ /** @description Internal server error */
11797
+ 500: {
11798
+ headers: {
11799
+ [name: string]: unknown;
11800
+ };
11801
+ content: {
11802
+ "application/json": {
11803
+ code: string;
11804
+ message: string;
11805
+ issues?: {
11806
+ message: string;
11807
+ }[];
11808
+ context?: unknown;
11809
+ };
11810
+ };
11811
+ };
11812
+ };
11813
+ };
11814
+ getConnection: {
11815
+ parameters: {
11816
+ query?: never;
11817
+ header?: never;
11818
+ path: {
11819
+ id: string;
11820
+ };
11821
+ cookie?: never;
11822
+ };
11823
+ requestBody?: never;
11824
+ responses: {
11825
+ /** @description Successful response */
11826
+ 200: {
11827
+ headers: {
11828
+ [name: string]: unknown;
11829
+ };
11830
+ content: {
11831
+ "application/json": {
11832
+ /** Format: uuid */
11833
+ id: string;
11834
+ name: string;
11835
+ /** @enum {string} */
11836
+ status: "active" | "inactive";
11837
+ accountingStartAt?: string | null;
11838
+ accountingEndAt?: string | null;
11839
+ uniqueRef?: string | null;
11840
+ app: {
11841
+ id: string;
11842
+ /** @enum {string} */
11843
+ type: "paymentGateway" | "accountingPlatform" | "propertyManagementSystem" | "bookingChannel" | "service";
11844
+ name: string;
11845
+ icon?: string | null;
11846
+ importers?: string[] | null;
11847
+ extractors?: string[] | null;
11848
+ };
11849
+ /**
11850
+ * Format: date-time
11851
+ * @description Timestamp string with date, time, milliseconds, and timezone.
11852
+ * @example 2024-01-15T12:30:00.000+00:00
11853
+ */
11854
+ createdAt: string;
11855
+ /**
11856
+ * Format: date-time
11857
+ * @description Timestamp string with date, time, milliseconds, and timezone.
11858
+ * @example 2024-01-15T12:30:00.000+00:00
11859
+ */
11860
+ updatedAt: string;
11861
+ isErrorState: boolean;
11862
+ currentSync?: {
11863
+ /** @enum {string} */
11864
+ status: "queued" | "started" | "completed" | "failed" | "canceled";
11865
+ /**
11866
+ * Format: date-time
11867
+ * @description Timestamp string with date, time, milliseconds, and timezone.
11868
+ * @example 2024-01-15T12:30:00.000+00:00
11869
+ */
11870
+ createdAt: string;
11871
+ /**
11872
+ * Format: date-time
11873
+ * @description Timestamp string with date, time, milliseconds, and timezone.
11874
+ * @example 2024-01-15T12:30:00.000+00:00
11875
+ */
11876
+ updatedAt: string;
11877
+ message?: string | null;
11878
+ } | null;
11879
+ enabledFlows: {
11880
+ /** Format: uuid */
11881
+ id: string;
11882
+ title: string;
11883
+ isPublic: boolean;
11884
+ type: ("push" | "pull") | null;
11885
+ }[];
11886
+ };
11887
+ };
11888
+ };
11889
+ /** @description Bad request */
11890
+ 400: {
11891
+ headers: {
11892
+ [name: string]: unknown;
11893
+ };
11894
+ content: {
11895
+ "application/json": {
11896
+ code: string;
11897
+ message: string;
11898
+ issues?: {
11899
+ message: string;
11900
+ }[];
11901
+ context?: unknown;
11902
+ };
11903
+ };
11904
+ };
11905
+ /** @description Unauthorized */
11906
+ 401: {
11907
+ headers: {
11908
+ [name: string]: unknown;
11909
+ };
11910
+ content: {
11911
+ "application/json": {
11912
+ code: string;
11913
+ message: string;
11914
+ issues?: {
11915
+ message: string;
11916
+ }[];
11917
+ context?: unknown;
11918
+ };
11919
+ };
11920
+ };
11921
+ /** @description Forbidden */
11922
+ 403: {
11923
+ headers: {
11924
+ [name: string]: unknown;
11925
+ };
11926
+ content: {
11927
+ "application/json": {
11928
+ code: string;
11929
+ message: string;
11930
+ issues?: {
11931
+ message: string;
11932
+ }[];
11933
+ context?: unknown;
11934
+ };
11935
+ };
11936
+ };
11937
+ /** @description Not found */
11938
+ 404: {
11939
+ headers: {
11940
+ [name: string]: unknown;
11941
+ };
11942
+ content: {
11943
+ "application/json": {
11944
+ code: string;
11945
+ message: string;
11946
+ issues?: {
11947
+ message: string;
11948
+ }[];
11949
+ context?: unknown;
11950
+ };
11951
+ };
11952
+ };
11953
+ /** @description Internal server error */
11954
+ 500: {
11955
+ headers: {
11956
+ [name: string]: unknown;
11957
+ };
11958
+ content: {
11959
+ "application/json": {
11960
+ code: string;
11961
+ message: string;
11962
+ issues?: {
11963
+ message: string;
11964
+ }[];
11965
+ context?: unknown;
11966
+ };
11967
+ };
11968
+ };
11969
+ };
11970
+ };
11971
+ deleteConnection: {
11972
+ parameters: {
11973
+ query?: {
11974
+ onLocked?: "error" | "archive";
11975
+ };
11976
+ header?: never;
11977
+ path: {
11978
+ id: string;
11979
+ };
11980
+ cookie?: never;
11981
+ };
11982
+ requestBody?: {
11983
+ content: {
11984
+ "application/json": Record<string, never>;
11985
+ };
11986
+ };
11987
+ responses: {
11988
+ /** @description Successful response */
11989
+ 200: {
11990
+ headers: {
11991
+ [name: string]: unknown;
11992
+ };
11993
+ content: {
11994
+ "application/json": {
11995
+ /** @enum {string} */
11996
+ status: "deleted" | "archived";
11997
+ };
11998
+ };
11999
+ };
12000
+ /** @description Bad request */
12001
+ 400: {
12002
+ headers: {
12003
+ [name: string]: unknown;
12004
+ };
12005
+ content: {
12006
+ "application/json": {
12007
+ code: string;
12008
+ message: string;
12009
+ issues?: {
12010
+ message: string;
12011
+ }[];
12012
+ context?: unknown;
12013
+ };
12014
+ };
12015
+ };
12016
+ /** @description Unauthorized */
12017
+ 401: {
12018
+ headers: {
12019
+ [name: string]: unknown;
12020
+ };
12021
+ content: {
12022
+ "application/json": {
12023
+ code: string;
12024
+ message: string;
12025
+ issues?: {
12026
+ message: string;
12027
+ }[];
12028
+ context?: unknown;
12029
+ };
12030
+ };
12031
+ };
12032
+ /** @description Forbidden */
12033
+ 403: {
12034
+ headers: {
12035
+ [name: string]: unknown;
12036
+ };
12037
+ content: {
12038
+ "application/json": {
12039
+ code: string;
12040
+ message: string;
12041
+ issues?: {
12042
+ message: string;
12043
+ }[];
12044
+ context?: unknown;
12045
+ };
12046
+ };
12047
+ };
12048
+ /** @description Not found */
12049
+ 404: {
12050
+ headers: {
12051
+ [name: string]: unknown;
12052
+ };
12053
+ content: {
12054
+ "application/json": {
12055
+ code: string;
12056
+ message: string;
12057
+ issues?: {
12058
+ message: string;
12059
+ }[];
12060
+ context?: unknown;
12061
+ };
12062
+ };
12063
+ };
12064
+ /** @description Internal server error */
12065
+ 500: {
12066
+ headers: {
12067
+ [name: string]: unknown;
12068
+ };
12069
+ content: {
12070
+ "application/json": {
12071
+ code: string;
12072
+ message: string;
12073
+ issues?: {
12074
+ message: string;
12075
+ }[];
12076
+ context?: unknown;
12077
+ };
12078
+ };
12079
+ };
12080
+ };
12081
+ };
12082
+ syncConnection: {
12083
+ parameters: {
12084
+ query?: never;
12085
+ header?: never;
12086
+ path: {
12087
+ id: string;
12088
+ };
12089
+ cookie?: never;
12090
+ };
12091
+ requestBody?: {
12092
+ content: {
12093
+ "application/json": {
12094
+ uniqueRef: string;
12095
+ /** @enum {string} */
12096
+ type: "reservation" | "listing" | "payout";
12097
+ };
12098
+ };
12099
+ };
12100
+ responses: {
12101
+ /** @description Successful response */
12102
+ 200: {
12103
+ headers: {
12104
+ [name: string]: unknown;
12105
+ };
12106
+ content: {
12107
+ "application/json": ({
12108
+ /** Format: uuid */
12109
+ id: string;
12110
+ /** @constant */
12111
+ status: "completed";
12112
+ message: string;
12113
+ /** @constant */
12114
+ type: "reservation";
12115
+ /** Format: uuid */
12116
+ reservationId: string;
12117
+ } | {
12118
+ /** Format: uuid */
12119
+ id: string;
12120
+ /** @constant */
12121
+ status: "completed";
12122
+ message: string;
12123
+ /** @constant */
12124
+ type: "listing";
12125
+ /** Format: uuid */
12126
+ listingId: string;
12127
+ } | {
12128
+ /** Format: uuid */
12129
+ id: string;
12130
+ /** @constant */
12131
+ status: "completed";
12132
+ message: string;
12133
+ /** @constant */
12134
+ type: "payout";
12135
+ /** Format: uuid */
12136
+ paymentId: string;
12137
+ }) | {
12138
+ /** Format: uuid */
12139
+ id: string;
12140
+ /** @constant */
12141
+ status: "failed";
12142
+ message: string;
12143
+ /** @enum {string} */
12144
+ type: "reservation" | "listing" | "payout";
11786
12145
  };
11787
12146
  };
11788
12147
  };
@@ -11954,6 +12313,9 @@ export interface operations {
11954
12313
  status: "active" | "inactive" | "unconfirmed";
11955
12314
  lastSeen?: string | null;
11956
12315
  lastInvitedAt?: string | null;
12316
+ notifications: {
12317
+ ownerStatementPublished: boolean;
12318
+ };
11957
12319
  } | null;
11958
12320
  }[];
11959
12321
  pagination: {
@@ -12155,6 +12517,9 @@ export interface operations {
12155
12517
  status: "active" | "inactive" | "unconfirmed";
12156
12518
  lastSeen?: string | null;
12157
12519
  lastInvitedAt?: string | null;
12520
+ notifications: {
12521
+ ownerStatementPublished: boolean;
12522
+ };
12158
12523
  } | null;
12159
12524
  };
12160
12525
  };
@@ -12577,6 +12942,9 @@ export interface operations {
12577
12942
  status: "active" | "inactive" | "unconfirmed";
12578
12943
  lastSeen?: string | null;
12579
12944
  lastInvitedAt?: string | null;
12945
+ notifications: {
12946
+ ownerStatementPublished: boolean;
12947
+ };
12580
12948
  } | null;
12581
12949
  };
12582
12950
  };
@@ -12769,6 +13137,9 @@ export interface operations {
12769
13137
  status: "active" | "inactive" | "unconfirmed";
12770
13138
  lastSeen?: string | null;
12771
13139
  lastInvitedAt?: string | null;
13140
+ notifications: {
13141
+ ownerStatementPublished: boolean;
13142
+ };
12772
13143
  } | null;
12773
13144
  };
12774
13145
  };
@@ -19986,14 +20357,173 @@ export interface operations {
19986
20357
  };
19987
20358
  };
19988
20359
  };
19989
- getMe: {
20360
+ getMe: {
20361
+ parameters: {
20362
+ query?: never;
20363
+ header?: never;
20364
+ path?: never;
20365
+ cookie?: never;
20366
+ };
20367
+ requestBody?: never;
20368
+ responses: {
20369
+ /** @description Successful response */
20370
+ 200: {
20371
+ headers: {
20372
+ [name: string]: unknown;
20373
+ };
20374
+ content: {
20375
+ "application/json": {
20376
+ /** Format: uuid */
20377
+ id: string;
20378
+ /** @enum {string} */
20379
+ type: "admin" | "user" | "owner";
20380
+ firstName?: string;
20381
+ lastName?: string;
20382
+ email: string;
20383
+ secondaryEmails: string[];
20384
+ phone?: string;
20385
+ /** Format: uuid */
20386
+ partnerId?: string;
20387
+ /**
20388
+ * Format: date-time
20389
+ * @description Timestamp string with date, time, milliseconds, and timezone.
20390
+ * @example 2024-01-15T12:30:00.000+00:00
20391
+ */
20392
+ createdAt: string;
20393
+ ownerAccess: {
20394
+ /** Format: uuid */
20395
+ contactId?: string;
20396
+ /** Format: uuid */
20397
+ ownerId?: string;
20398
+ /** Format: uuid */
20399
+ teamId: string;
20400
+ /** @enum {string} */
20401
+ role: "admin" | "viewer";
20402
+ }[];
20403
+ teamAccess: {
20404
+ /** Format: uuid */
20405
+ teamId: string;
20406
+ partnerId: string | null;
20407
+ /** @enum {string} */
20408
+ role: "admin" | "user" | "owner";
20409
+ /** @enum {string} */
20410
+ type: "propertyManager" | "partner";
20411
+ slug: string;
20412
+ notifications: {
20413
+ ownerStatementInReview: boolean;
20414
+ ownerStatementPublished: boolean;
20415
+ ownerInvited: boolean;
20416
+ memberInvited: boolean;
20417
+ };
20418
+ }[];
20419
+ enabledFeatures: {
20420
+ /** Format: uuid */
20421
+ featureId: string;
20422
+ /** @enum {string} */
20423
+ status: "all" | "disabled" | "partially";
20424
+ }[];
20425
+ };
20426
+ };
20427
+ };
20428
+ /** @description Bad request */
20429
+ 400: {
20430
+ headers: {
20431
+ [name: string]: unknown;
20432
+ };
20433
+ content: {
20434
+ "application/json": {
20435
+ code: string;
20436
+ message: string;
20437
+ issues?: {
20438
+ message: string;
20439
+ }[];
20440
+ context?: unknown;
20441
+ };
20442
+ };
20443
+ };
20444
+ /** @description Unauthorized */
20445
+ 401: {
20446
+ headers: {
20447
+ [name: string]: unknown;
20448
+ };
20449
+ content: {
20450
+ "application/json": {
20451
+ code: string;
20452
+ message: string;
20453
+ issues?: {
20454
+ message: string;
20455
+ }[];
20456
+ context?: unknown;
20457
+ };
20458
+ };
20459
+ };
20460
+ /** @description Forbidden */
20461
+ 403: {
20462
+ headers: {
20463
+ [name: string]: unknown;
20464
+ };
20465
+ content: {
20466
+ "application/json": {
20467
+ code: string;
20468
+ message: string;
20469
+ issues?: {
20470
+ message: string;
20471
+ }[];
20472
+ context?: unknown;
20473
+ };
20474
+ };
20475
+ };
20476
+ /** @description Not found */
20477
+ 404: {
20478
+ headers: {
20479
+ [name: string]: unknown;
20480
+ };
20481
+ content: {
20482
+ "application/json": {
20483
+ code: string;
20484
+ message: string;
20485
+ issues?: {
20486
+ message: string;
20487
+ }[];
20488
+ context?: unknown;
20489
+ };
20490
+ };
20491
+ };
20492
+ /** @description Internal server error */
20493
+ 500: {
20494
+ headers: {
20495
+ [name: string]: unknown;
20496
+ };
20497
+ content: {
20498
+ "application/json": {
20499
+ code: string;
20500
+ message: string;
20501
+ issues?: {
20502
+ message: string;
20503
+ }[];
20504
+ context?: unknown;
20505
+ };
20506
+ };
20507
+ };
20508
+ };
20509
+ };
20510
+ updateMeNotifications: {
19990
20511
  parameters: {
19991
20512
  query?: never;
19992
20513
  header?: never;
19993
20514
  path?: never;
19994
20515
  cookie?: never;
19995
20516
  };
19996
- requestBody?: never;
20517
+ requestBody?: {
20518
+ content: {
20519
+ "application/json": {
20520
+ ownerStatementInReview?: boolean;
20521
+ ownerStatementPublished?: boolean;
20522
+ ownerInvited?: boolean;
20523
+ memberInvited?: boolean;
20524
+ };
20525
+ };
20526
+ };
19997
20527
  responses: {
19998
20528
  /** @description Successful response */
19999
20529
  200: {
@@ -20002,48 +20532,10 @@ export interface operations {
20002
20532
  };
20003
20533
  content: {
20004
20534
  "application/json": {
20005
- /** Format: uuid */
20006
- id: string;
20007
- /** @enum {string} */
20008
- type: "admin" | "user" | "owner";
20009
- firstName?: string;
20010
- lastName?: string;
20011
- email: string;
20012
- secondaryEmails: string[];
20013
- phone?: string;
20014
- /** Format: uuid */
20015
- partnerId?: string;
20016
- /**
20017
- * Format: date-time
20018
- * @description Timestamp string with date, time, milliseconds, and timezone.
20019
- * @example 2024-01-15T12:30:00.000+00:00
20020
- */
20021
- createdAt: string;
20022
- ownerAccess: {
20023
- /** Format: uuid */
20024
- contactId?: string;
20025
- /** Format: uuid */
20026
- ownerId?: string;
20027
- /** Format: uuid */
20028
- teamId: string;
20029
- /** @enum {string} */
20030
- role: "admin" | "viewer";
20031
- }[];
20032
- teamAccess: {
20033
- /** Format: uuid */
20034
- teamId: string;
20035
- partnerId: string | null;
20036
- /** @enum {string} */
20037
- role: "admin" | "user" | "owner";
20038
- /** @enum {string} */
20039
- type: "propertyManager" | "partner";
20040
- }[];
20041
- enabledFeatures: {
20042
- /** Format: uuid */
20043
- featureId: string;
20044
- /** @enum {string} */
20045
- status: "all" | "disabled" | "partially";
20046
- }[];
20535
+ ownerStatementInReview: boolean;
20536
+ ownerStatementPublished: boolean;
20537
+ ownerInvited: boolean;
20538
+ memberInvited: boolean;
20047
20539
  };
20048
20540
  };
20049
20541
  };
@@ -22979,6 +23471,7 @@ export interface operations {
22979
23471
  getRates: {
22980
23472
  parameters: {
22981
23473
  query?: {
23474
+ search?: string;
22982
23475
  type?: "markup" | "tax";
22983
23476
  status?: "active" | "inactive";
22984
23477
  limit?: number;
@@ -25250,7 +25743,7 @@ export interface operations {
25250
25743
  /** @enum {string} */
25251
25744
  status?: "active" | "inactive";
25252
25745
  /** @enum {string} */
25253
- ledger?: "trust" | "operating";
25746
+ ledger?: "historical" | "trust" | "operating";
25254
25747
  startAt?: string;
25255
25748
  endAt?: string;
25256
25749
  search?: string;
@@ -25332,7 +25825,7 @@ export interface operations {
25332
25825
  /** @enum {string} */
25333
25826
  status?: "active" | "inactive";
25334
25827
  /** @enum {string} */
25335
- ledger?: "trust" | "operating";
25828
+ ledger?: "historical" | "trust" | "operating";
25336
25829
  startAt?: string;
25337
25830
  endAt?: string;
25338
25831
  search?: string;
@@ -25417,7 +25910,7 @@ export interface operations {
25417
25910
  /** @enum {string} */
25418
25911
  status?: "active" | "inactive";
25419
25912
  /** @enum {string} */
25420
- ledger?: "trust" | "operating";
25913
+ ledger?: "historical" | "trust" | "operating";
25421
25914
  startAt?: string;
25422
25915
  endAt?: string;
25423
25916
  search?: string;
@@ -25501,7 +25994,7 @@ export interface operations {
25501
25994
  /** @enum {string} */
25502
25995
  status?: "active" | "inactive";
25503
25996
  /** @enum {string} */
25504
- ledger?: "trust" | "operating";
25997
+ ledger?: "historical" | "trust" | "operating";
25505
25998
  startAt?: string;
25506
25999
  endAt?: string;
25507
26000
  search?: string;
@@ -25583,7 +26076,7 @@ export interface operations {
25583
26076
  /** @enum {string} */
25584
26077
  status?: "active" | "inactive";
25585
26078
  /** @enum {string} */
25586
- ledger?: "trust" | "operating";
26079
+ ledger?: "historical" | "trust" | "operating";
25587
26080
  startAt?: string;
25588
26081
  endAt?: string;
25589
26082
  search?: string;
@@ -25668,7 +26161,7 @@ export interface operations {
25668
26161
  /** @enum {string} */
25669
26162
  status?: "active" | "inactive";
25670
26163
  /** @enum {string} */
25671
- ledger?: "trust" | "operating";
26164
+ ledger?: "historical" | "trust" | "operating";
25672
26165
  startAt?: string;
25673
26166
  endAt?: string;
25674
26167
  search?: string;
@@ -25752,7 +26245,7 @@ export interface operations {
25752
26245
  /** @enum {string} */
25753
26246
  status?: "active" | "inactive";
25754
26247
  /** @enum {string} */
25755
- ledger?: "trust" | "operating";
26248
+ ledger?: "historical" | "trust" | "operating";
25756
26249
  startAt?: string;
25757
26250
  endAt?: string;
25758
26251
  search?: string;
@@ -25834,7 +26327,7 @@ export interface operations {
25834
26327
  /** @enum {string} */
25835
26328
  status?: "active" | "inactive";
25836
26329
  /** @enum {string} */
25837
- ledger?: "trust" | "operating";
26330
+ ledger?: "historical" | "trust" | "operating";
25838
26331
  startAt?: string;
25839
26332
  endAt?: string;
25840
26333
  search?: string;
@@ -25919,7 +26412,7 @@ export interface operations {
25919
26412
  /** @enum {string} */
25920
26413
  status?: "active" | "inactive";
25921
26414
  /** @enum {string} */
25922
- ledger?: "trust" | "operating";
26415
+ ledger?: "historical" | "trust" | "operating";
25923
26416
  startAt?: string;
25924
26417
  endAt?: string;
25925
26418
  search?: string;
@@ -26003,7 +26496,7 @@ export interface operations {
26003
26496
  /** @enum {string} */
26004
26497
  status?: "active" | "inactive";
26005
26498
  /** @enum {string} */
26006
- ledger?: "trust" | "operating";
26499
+ ledger?: "historical" | "trust" | "operating";
26007
26500
  startAt?: string;
26008
26501
  endAt?: string;
26009
26502
  search?: string;
@@ -26085,7 +26578,7 @@ export interface operations {
26085
26578
  /** @enum {string} */
26086
26579
  status?: "active" | "inactive";
26087
26580
  /** @enum {string} */
26088
- ledger?: "trust" | "operating";
26581
+ ledger?: "historical" | "trust" | "operating";
26089
26582
  startAt?: string;
26090
26583
  endAt?: string;
26091
26584
  search?: string;
@@ -26170,7 +26663,7 @@ export interface operations {
26170
26663
  /** @enum {string} */
26171
26664
  status?: "active" | "inactive";
26172
26665
  /** @enum {string} */
26173
- ledger?: "trust" | "operating";
26666
+ ledger?: "historical" | "trust" | "operating";
26174
26667
  startAt?: string;
26175
26668
  endAt?: string;
26176
26669
  search?: string;
@@ -26495,7 +26988,7 @@ export interface operations {
26495
26988
  /** @enum {string} */
26496
26989
  status?: "active" | "inactive";
26497
26990
  /** @enum {string} */
26498
- ledger?: "trust" | "operating";
26991
+ ledger?: "historical" | "trust" | "operating";
26499
26992
  startAt?: string;
26500
26993
  endAt?: string;
26501
26994
  search?: string;
@@ -26870,6 +27363,7 @@ export interface operations {
26870
27363
  txnCode?: string;
26871
27364
  published?: boolean;
26872
27365
  status?: "active" | "inactive";
27366
+ ledger?: "historical" | "trust" | "operating";
26873
27367
  startAt?: string;
26874
27368
  endAt?: string;
26875
27369
  search?: string;
@@ -26922,7 +27416,6 @@ export interface operations {
26922
27416
  managerStatementSectionIds?: string;
26923
27417
  recurringFee?: boolean;
26924
27418
  openingBalanceType?: "taxPayable" | "advancedDeposit" | "listingOpeningBalance" | "openingTrialBalance";
26925
- ledger?: "trust" | "operating";
26926
27419
  includeDetails?: boolean;
26927
27420
  limit?: number;
26928
27421
  page?: number;
@@ -27029,7 +27522,7 @@ export interface operations {
27029
27522
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
27030
27523
  currency: string;
27031
27524
  /** @enum {string} */
27032
- ledger: "trust" | "operating";
27525
+ ledger: "historical" | "trust" | "operating";
27033
27526
  entityType?: string;
27034
27527
  status: string;
27035
27528
  listingId?: string;
@@ -27158,6 +27651,7 @@ export interface operations {
27158
27651
  txnCode?: string;
27159
27652
  published?: boolean;
27160
27653
  status?: "active" | "inactive";
27654
+ ledger?: "historical" | "trust" | "operating";
27161
27655
  startAt?: string;
27162
27656
  endAt?: string;
27163
27657
  search?: string;
@@ -27210,7 +27704,6 @@ export interface operations {
27210
27704
  managerStatementSectionIds?: string;
27211
27705
  recurringFee?: boolean;
27212
27706
  openingBalanceType?: "taxPayable" | "advancedDeposit" | "listingOpeningBalance" | "openingTrialBalance";
27213
- ledger?: "trust" | "operating";
27214
27707
  };
27215
27708
  header?: never;
27216
27709
  path?: never;
@@ -27609,7 +28102,7 @@ export interface operations {
27609
28102
  /** @enum {string} */
27610
28103
  status?: "active" | "inactive";
27611
28104
  /** @enum {string} */
27612
- ledger?: "trust" | "operating";
28105
+ ledger?: "historical" | "trust" | "operating";
27613
28106
  startAt?: string;
27614
28107
  endAt?: string;
27615
28108
  search?: string;
@@ -27700,7 +28193,7 @@ export interface operations {
27700
28193
  /** @enum {string} */
27701
28194
  status?: "active" | "inactive";
27702
28195
  /** @enum {string} */
27703
- ledger?: "trust" | "operating";
28196
+ ledger?: "historical" | "trust" | "operating";
27704
28197
  startAt?: string;
27705
28198
  endAt?: string;
27706
28199
  search?: string;
@@ -27776,7 +28269,7 @@ export interface operations {
27776
28269
  /** @enum {string} */
27777
28270
  status?: "active" | "inactive";
27778
28271
  /** @enum {string} */
27779
- ledger?: "trust" | "operating";
28272
+ ledger?: "historical" | "trust" | "operating";
27780
28273
  startAt?: string;
27781
28274
  endAt?: string;
27782
28275
  search?: string;
@@ -28192,7 +28685,7 @@ export interface operations {
28192
28685
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
28193
28686
  currency: string;
28194
28687
  /** @enum {string} */
28195
- ledger: "trust" | "operating";
28688
+ ledger: "historical" | "trust" | "operating";
28196
28689
  entityType?: string;
28197
28690
  status: string;
28198
28691
  listingId?: string;
@@ -28691,6 +29184,7 @@ export interface operations {
28691
29184
  listingIds?: string;
28692
29185
  currency?: string;
28693
29186
  viewAs?: "owner" | "manager";
29187
+ search?: string;
28694
29188
  };
28695
29189
  header?: never;
28696
29190
  path?: never;
@@ -28737,7 +29231,7 @@ export interface operations {
28737
29231
  /** @enum {string} */
28738
29232
  status?: "active" | "inactive";
28739
29233
  /** @enum {string} */
28740
- ledger?: "trust" | "operating";
29234
+ ledger?: "historical" | "trust" | "operating";
28741
29235
  startAt?: string;
28742
29236
  endAt?: string;
28743
29237
  search?: string;
@@ -29160,7 +29654,7 @@ export interface operations {
29160
29654
  /** @enum {string} */
29161
29655
  status?: "active" | "inactive";
29162
29656
  /** @enum {string} */
29163
- ledger?: "trust" | "operating";
29657
+ ledger?: "historical" | "trust" | "operating";
29164
29658
  startAt?: string;
29165
29659
  endAt?: string;
29166
29660
  search?: string;
@@ -29237,7 +29731,7 @@ export interface operations {
29237
29731
  /** @enum {string} */
29238
29732
  status?: "active" | "inactive";
29239
29733
  /** @enum {string} */
29240
- ledger?: "trust" | "operating";
29734
+ ledger?: "historical" | "trust" | "operating";
29241
29735
  startAt?: string;
29242
29736
  endAt?: string;
29243
29737
  search?: string;
@@ -29335,7 +29829,7 @@ export interface operations {
29335
29829
  /** @enum {string} */
29336
29830
  status?: "active" | "inactive";
29337
29831
  /** @enum {string} */
29338
- ledger?: "trust" | "operating";
29832
+ ledger?: "historical" | "trust" | "operating";
29339
29833
  startAt?: string;
29340
29834
  endAt?: string;
29341
29835
  search?: string;
@@ -29409,7 +29903,7 @@ export interface operations {
29409
29903
  /** @enum {string} */
29410
29904
  status?: "active" | "inactive";
29411
29905
  /** @enum {string} */
29412
- ledger?: "trust" | "operating";
29906
+ ledger?: "historical" | "trust" | "operating";
29413
29907
  startAt?: string;
29414
29908
  endAt?: string;
29415
29909
  search?: string;
@@ -29483,7 +29977,7 @@ export interface operations {
29483
29977
  /** @enum {string} */
29484
29978
  status?: "active" | "inactive";
29485
29979
  /** @enum {string} */
29486
- ledger?: "trust" | "operating";
29980
+ ledger?: "historical" | "trust" | "operating";
29487
29981
  startAt?: string;
29488
29982
  endAt?: string;
29489
29983
  search?: string;
@@ -29563,7 +30057,7 @@ export interface operations {
29563
30057
  /** @enum {string} */
29564
30058
  status?: "active" | "inactive";
29565
30059
  /** @enum {string} */
29566
- ledger?: "trust" | "operating";
30060
+ ledger?: "historical" | "trust" | "operating";
29567
30061
  startAt?: string;
29568
30062
  endAt?: string;
29569
30063
  search?: string;
@@ -29637,7 +30131,7 @@ export interface operations {
29637
30131
  /** @enum {string} */
29638
30132
  status?: "active" | "inactive";
29639
30133
  /** @enum {string} */
29640
- ledger?: "trust" | "operating";
30134
+ ledger?: "historical" | "trust" | "operating";
29641
30135
  startAt?: string;
29642
30136
  endAt?: string;
29643
30137
  search?: string;
@@ -29738,7 +30232,7 @@ export interface operations {
29738
30232
  /** @enum {string} */
29739
30233
  status?: "active" | "inactive";
29740
30234
  /** @enum {string} */
29741
- ledger?: "trust" | "operating";
30235
+ ledger?: "historical" | "trust" | "operating";
29742
30236
  startAt?: string;
29743
30237
  endAt?: string;
29744
30238
  search?: string;
@@ -29812,7 +30306,7 @@ export interface operations {
29812
30306
  /** @enum {string} */
29813
30307
  status?: "active" | "inactive";
29814
30308
  /** @enum {string} */
29815
- ledger?: "trust" | "operating";
30309
+ ledger?: "historical" | "trust" | "operating";
29816
30310
  startAt?: string;
29817
30311
  endAt?: string;
29818
30312
  search?: string;
@@ -29886,7 +30380,7 @@ export interface operations {
29886
30380
  /** @enum {string} */
29887
30381
  status?: "active" | "inactive";
29888
30382
  /** @enum {string} */
29889
- ledger?: "trust" | "operating";
30383
+ ledger?: "historical" | "trust" | "operating";
29890
30384
  startAt?: string;
29891
30385
  endAt?: string;
29892
30386
  search?: string;
@@ -29966,7 +30460,7 @@ export interface operations {
29966
30460
  /** @enum {string} */
29967
30461
  status?: "active" | "inactive";
29968
30462
  /** @enum {string} */
29969
- ledger?: "trust" | "operating";
30463
+ ledger?: "historical" | "trust" | "operating";
29970
30464
  startAt?: string;
29971
30465
  endAt?: string;
29972
30466
  search?: string;
@@ -30040,7 +30534,7 @@ export interface operations {
30040
30534
  /** @enum {string} */
30041
30535
  status?: "active" | "inactive";
30042
30536
  /** @enum {string} */
30043
- ledger?: "trust" | "operating";
30537
+ ledger?: "historical" | "trust" | "operating";
30044
30538
  startAt?: string;
30045
30539
  endAt?: string;
30046
30540
  search?: string;
@@ -30140,7 +30634,7 @@ export interface operations {
30140
30634
  /** @enum {string} */
30141
30635
  status?: "active" | "inactive";
30142
30636
  /** @enum {string} */
30143
- ledger?: "trust" | "operating";
30637
+ ledger?: "historical" | "trust" | "operating";
30144
30638
  startAt?: string;
30145
30639
  endAt?: string;
30146
30640
  search?: string;
@@ -30214,7 +30708,7 @@ export interface operations {
30214
30708
  /** @enum {string} */
30215
30709
  status?: "active" | "inactive";
30216
30710
  /** @enum {string} */
30217
- ledger?: "trust" | "operating";
30711
+ ledger?: "historical" | "trust" | "operating";
30218
30712
  startAt?: string;
30219
30713
  endAt?: string;
30220
30714
  search?: string;
@@ -30288,7 +30782,7 @@ export interface operations {
30288
30782
  /** @enum {string} */
30289
30783
  status?: "active" | "inactive";
30290
30784
  /** @enum {string} */
30291
- ledger?: "trust" | "operating";
30785
+ ledger?: "historical" | "trust" | "operating";
30292
30786
  startAt?: string;
30293
30787
  endAt?: string;
30294
30788
  search?: string;
@@ -30368,7 +30862,7 @@ export interface operations {
30368
30862
  /** @enum {string} */
30369
30863
  status?: "active" | "inactive";
30370
30864
  /** @enum {string} */
30371
- ledger?: "trust" | "operating";
30865
+ ledger?: "historical" | "trust" | "operating";
30372
30866
  startAt?: string;
30373
30867
  endAt?: string;
30374
30868
  search?: string;
@@ -30442,7 +30936,7 @@ export interface operations {
30442
30936
  /** @enum {string} */
30443
30937
  status?: "active" | "inactive";
30444
30938
  /** @enum {string} */
30445
- ledger?: "trust" | "operating";
30939
+ ledger?: "historical" | "trust" | "operating";
30446
30940
  startAt?: string;
30447
30941
  endAt?: string;
30448
30942
  search?: string;
@@ -30989,7 +31483,7 @@ export interface operations {
30989
31483
  /** @enum {string} */
30990
31484
  status?: "active" | "inactive";
30991
31485
  /** @enum {string} */
30992
- ledger?: "trust" | "operating";
31486
+ ledger?: "historical" | "trust" | "operating";
30993
31487
  startAt?: string;
30994
31488
  endAt?: string;
30995
31489
  search?: string;
@@ -31068,7 +31562,7 @@ export interface operations {
31068
31562
  /** @enum {string} */
31069
31563
  status?: "active" | "inactive";
31070
31564
  /** @enum {string} */
31071
- ledger?: "trust" | "operating";
31565
+ ledger?: "historical" | "trust" | "operating";
31072
31566
  startAt?: string;
31073
31567
  endAt?: string;
31074
31568
  search?: string;
@@ -31151,7 +31645,7 @@ export interface operations {
31151
31645
  /** @enum {string} */
31152
31646
  status?: "active" | "inactive";
31153
31647
  /** @enum {string} */
31154
- ledger?: "trust" | "operating";
31648
+ ledger?: "historical" | "trust" | "operating";
31155
31649
  startAt?: string;
31156
31650
  endAt?: string;
31157
31651
  search?: string;
@@ -31229,7 +31723,7 @@ export interface operations {
31229
31723
  /** @enum {string} */
31230
31724
  status?: "active" | "inactive";
31231
31725
  /** @enum {string} */
31232
- ledger?: "trust" | "operating";
31726
+ ledger?: "historical" | "trust" | "operating";
31233
31727
  startAt?: string;
31234
31728
  endAt?: string;
31235
31729
  search?: string;
@@ -31315,7 +31809,7 @@ export interface operations {
31315
31809
  /** @enum {string} */
31316
31810
  status?: "active" | "inactive";
31317
31811
  /** @enum {string} */
31318
- ledger?: "trust" | "operating";
31812
+ ledger?: "historical" | "trust" | "operating";
31319
31813
  startAt?: string;
31320
31814
  endAt?: string;
31321
31815
  search?: string;
@@ -31394,7 +31888,7 @@ export interface operations {
31394
31888
  /** @enum {string} */
31395
31889
  status?: "active" | "inactive";
31396
31890
  /** @enum {string} */
31397
- ledger?: "trust" | "operating";
31891
+ ledger?: "historical" | "trust" | "operating";
31398
31892
  startAt?: string;
31399
31893
  endAt?: string;
31400
31894
  search?: string;
@@ -31477,7 +31971,7 @@ export interface operations {
31477
31971
  /** @enum {string} */
31478
31972
  status?: "active" | "inactive";
31479
31973
  /** @enum {string} */
31480
- ledger?: "trust" | "operating";
31974
+ ledger?: "historical" | "trust" | "operating";
31481
31975
  startAt?: string;
31482
31976
  endAt?: string;
31483
31977
  search?: string;
@@ -31555,7 +32049,7 @@ export interface operations {
31555
32049
  /** @enum {string} */
31556
32050
  status?: "active" | "inactive";
31557
32051
  /** @enum {string} */
31558
- ledger?: "trust" | "operating";
32052
+ ledger?: "historical" | "trust" | "operating";
31559
32053
  startAt?: string;
31560
32054
  endAt?: string;
31561
32055
  search?: string;
@@ -31641,7 +32135,7 @@ export interface operations {
31641
32135
  /** @enum {string} */
31642
32136
  status?: "active" | "inactive";
31643
32137
  /** @enum {string} */
31644
- ledger?: "trust" | "operating";
32138
+ ledger?: "historical" | "trust" | "operating";
31645
32139
  startAt?: string;
31646
32140
  endAt?: string;
31647
32141
  search?: string;
@@ -31720,7 +32214,7 @@ export interface operations {
31720
32214
  /** @enum {string} */
31721
32215
  status?: "active" | "inactive";
31722
32216
  /** @enum {string} */
31723
- ledger?: "trust" | "operating";
32217
+ ledger?: "historical" | "trust" | "operating";
31724
32218
  startAt?: string;
31725
32219
  endAt?: string;
31726
32220
  search?: string;
@@ -31803,7 +32297,7 @@ export interface operations {
31803
32297
  /** @enum {string} */
31804
32298
  status?: "active" | "inactive";
31805
32299
  /** @enum {string} */
31806
- ledger?: "trust" | "operating";
32300
+ ledger?: "historical" | "trust" | "operating";
31807
32301
  startAt?: string;
31808
32302
  endAt?: string;
31809
32303
  search?: string;
@@ -31881,7 +32375,7 @@ export interface operations {
31881
32375
  /** @enum {string} */
31882
32376
  status?: "active" | "inactive";
31883
32377
  /** @enum {string} */
31884
- ledger?: "trust" | "operating";
32378
+ ledger?: "historical" | "trust" | "operating";
31885
32379
  startAt?: string;
31886
32380
  endAt?: string;
31887
32381
  search?: string;
@@ -31967,7 +32461,7 @@ export interface operations {
31967
32461
  /** @enum {string} */
31968
32462
  status?: "active" | "inactive";
31969
32463
  /** @enum {string} */
31970
- ledger?: "trust" | "operating";
32464
+ ledger?: "historical" | "trust" | "operating";
31971
32465
  startAt?: string;
31972
32466
  endAt?: string;
31973
32467
  search?: string;
@@ -32046,7 +32540,7 @@ export interface operations {
32046
32540
  /** @enum {string} */
32047
32541
  status?: "active" | "inactive";
32048
32542
  /** @enum {string} */
32049
- ledger?: "trust" | "operating";
32543
+ ledger?: "historical" | "trust" | "operating";
32050
32544
  startAt?: string;
32051
32545
  endAt?: string;
32052
32546
  search?: string;
@@ -32129,7 +32623,7 @@ export interface operations {
32129
32623
  /** @enum {string} */
32130
32624
  status?: "active" | "inactive";
32131
32625
  /** @enum {string} */
32132
- ledger?: "trust" | "operating";
32626
+ ledger?: "historical" | "trust" | "operating";
32133
32627
  startAt?: string;
32134
32628
  endAt?: string;
32135
32629
  search?: string;
@@ -32207,7 +32701,7 @@ export interface operations {
32207
32701
  /** @enum {string} */
32208
32702
  status?: "active" | "inactive";
32209
32703
  /** @enum {string} */
32210
- ledger?: "trust" | "operating";
32704
+ ledger?: "historical" | "trust" | "operating";
32211
32705
  startAt?: string;
32212
32706
  endAt?: string;
32213
32707
  search?: string;
@@ -32525,7 +33019,7 @@ export interface operations {
32525
33019
  /** @enum {string} */
32526
33020
  status?: "active" | "inactive";
32527
33021
  /** @enum {string} */
32528
- ledger?: "trust" | "operating";
33022
+ ledger?: "historical" | "trust" | "operating";
32529
33023
  startAt?: string;
32530
33024
  endAt?: string;
32531
33025
  search?: string;
@@ -32598,7 +33092,7 @@ export interface operations {
32598
33092
  /** @enum {string} */
32599
33093
  status?: "active" | "inactive";
32600
33094
  /** @enum {string} */
32601
- ledger?: "trust" | "operating";
33095
+ ledger?: "historical" | "trust" | "operating";
32602
33096
  startAt?: string;
32603
33097
  endAt?: string;
32604
33098
  search?: string;
@@ -32900,7 +33394,7 @@ export interface operations {
32900
33394
  /** @enum {string} */
32901
33395
  status?: "active" | "inactive";
32902
33396
  /** @enum {string} */
32903
- ledger?: "trust" | "operating";
33397
+ ledger?: "historical" | "trust" | "operating";
32904
33398
  startAt?: string;
32905
33399
  endAt?: string;
32906
33400
  search?: string;
@@ -32973,7 +33467,7 @@ export interface operations {
32973
33467
  /** @enum {string} */
32974
33468
  status?: "active" | "inactive";
32975
33469
  /** @enum {string} */
32976
- ledger?: "trust" | "operating";
33470
+ ledger?: "historical" | "trust" | "operating";
32977
33471
  startAt?: string;
32978
33472
  endAt?: string;
32979
33473
  search?: string;
@@ -33046,7 +33540,7 @@ export interface operations {
33046
33540
  /** @enum {string} */
33047
33541
  status?: "active" | "inactive";
33048
33542
  /** @enum {string} */
33049
- ledger?: "trust" | "operating";
33543
+ ledger?: "historical" | "trust" | "operating";
33050
33544
  startAt?: string;
33051
33545
  endAt?: string;
33052
33546
  search?: string;
@@ -33119,7 +33613,7 @@ export interface operations {
33119
33613
  /** @enum {string} */
33120
33614
  status?: "active" | "inactive";
33121
33615
  /** @enum {string} */
33122
- ledger?: "trust" | "operating";
33616
+ ledger?: "historical" | "trust" | "operating";
33123
33617
  startAt?: string;
33124
33618
  endAt?: string;
33125
33619
  search?: string;
@@ -33202,7 +33696,7 @@ export interface operations {
33202
33696
  /** @enum {string} */
33203
33697
  status?: "active" | "inactive";
33204
33698
  /** @enum {string} */
33205
- ledger?: "trust" | "operating";
33699
+ ledger?: "historical" | "trust" | "operating";
33206
33700
  startAt?: string;
33207
33701
  endAt?: string;
33208
33702
  search?: string;
@@ -33275,7 +33769,7 @@ export interface operations {
33275
33769
  /** @enum {string} */
33276
33770
  status?: "active" | "inactive";
33277
33771
  /** @enum {string} */
33278
- ledger?: "trust" | "operating";
33772
+ ledger?: "historical" | "trust" | "operating";
33279
33773
  startAt?: string;
33280
33774
  endAt?: string;
33281
33775
  search?: string;
@@ -33348,7 +33842,7 @@ export interface operations {
33348
33842
  /** @enum {string} */
33349
33843
  status?: "active" | "inactive";
33350
33844
  /** @enum {string} */
33351
- ledger?: "trust" | "operating";
33845
+ ledger?: "historical" | "trust" | "operating";
33352
33846
  startAt?: string;
33353
33847
  endAt?: string;
33354
33848
  search?: string;
@@ -33421,7 +33915,7 @@ export interface operations {
33421
33915
  /** @enum {string} */
33422
33916
  status?: "active" | "inactive";
33423
33917
  /** @enum {string} */
33424
- ledger?: "trust" | "operating";
33918
+ ledger?: "historical" | "trust" | "operating";
33425
33919
  startAt?: string;
33426
33920
  endAt?: string;
33427
33921
  search?: string;
@@ -33725,7 +34219,7 @@ export interface operations {
33725
34219
  /** @enum {string} */
33726
34220
  status?: "active" | "inactive";
33727
34221
  /** @enum {string} */
33728
- ledger?: "trust" | "operating";
34222
+ ledger?: "historical" | "trust" | "operating";
33729
34223
  startAt?: string;
33730
34224
  endAt?: string;
33731
34225
  search?: string;
@@ -33787,6 +34281,17 @@ export interface operations {
33787
34281
  openingBalanceType?: "taxPayable" | "advancedDeposit" | "listingOpeningBalance" | "openingTrialBalance";
33788
34282
  };
33789
34283
  } | null;
34284
+ issues?: {
34285
+ /** @constant */
34286
+ code: "endedOwnershipNonZeroBalance";
34287
+ /** @constant */
34288
+ severity: "warning";
34289
+ message: string;
34290
+ context: {
34291
+ endAt: string | null;
34292
+ setListingInactive: boolean;
34293
+ };
34294
+ }[];
33790
34295
  }[];
33791
34296
  } | {
33792
34297
  name: string;
@@ -33808,7 +34313,7 @@ export interface operations {
33808
34313
  /** @enum {string} */
33809
34314
  status?: "active" | "inactive";
33810
34315
  /** @enum {string} */
33811
- ledger?: "trust" | "operating";
34316
+ ledger?: "historical" | "trust" | "operating";
33812
34317
  startAt?: string;
33813
34318
  endAt?: string;
33814
34319
  search?: string;
@@ -33892,7 +34397,7 @@ export interface operations {
33892
34397
  /** @enum {string} */
33893
34398
  status?: "active" | "inactive";
33894
34399
  /** @enum {string} */
33895
- ledger?: "trust" | "operating";
34400
+ ledger?: "historical" | "trust" | "operating";
33896
34401
  startAt?: string;
33897
34402
  endAt?: string;
33898
34403
  search?: string;
@@ -34086,7 +34591,7 @@ export interface operations {
34086
34591
  /** @enum {string} */
34087
34592
  status?: "active" | "inactive";
34088
34593
  /** @enum {string} */
34089
- ledger?: "trust" | "operating";
34594
+ ledger?: "historical" | "trust" | "operating";
34090
34595
  startAt?: string;
34091
34596
  endAt?: string;
34092
34597
  search?: string;
@@ -34183,7 +34688,7 @@ export interface operations {
34183
34688
  /** @enum {string} */
34184
34689
  status?: "active" | "inactive";
34185
34690
  /** @enum {string} */
34186
- ledger?: "trust" | "operating";
34691
+ ledger?: "historical" | "trust" | "operating";
34187
34692
  startAt?: string;
34188
34693
  endAt?: string;
34189
34694
  search?: string;
@@ -39421,7 +39926,7 @@ export interface operations {
39421
39926
  /** @enum {string} */
39422
39927
  status?: "active" | "inactive";
39423
39928
  /** @enum {string} */
39424
- ledger?: "trust" | "operating";
39929
+ ledger?: "historical" | "trust" | "operating";
39425
39930
  startAt?: string;
39426
39931
  endAt?: string;
39427
39932
  search?: string;
@@ -39903,7 +40408,7 @@ export interface operations {
39903
40408
  /** @enum {string} */
39904
40409
  status?: "active" | "inactive";
39905
40410
  /** @enum {string} */
39906
- ledger?: "trust" | "operating";
40411
+ ledger?: "historical" | "trust" | "operating";
39907
40412
  startAt?: string;
39908
40413
  endAt?: string;
39909
40414
  search?: string;
@@ -40188,7 +40693,7 @@ export interface operations {
40188
40693
  /** @enum {string} */
40189
40694
  status?: "active" | "inactive";
40190
40695
  /** @enum {string} */
40191
- ledger?: "trust" | "operating";
40696
+ ledger?: "historical" | "trust" | "operating";
40192
40697
  startAt?: string;
40193
40698
  endAt?: string;
40194
40699
  search?: string;
@@ -40265,7 +40770,7 @@ export interface operations {
40265
40770
  /** @enum {string} */
40266
40771
  status?: "active" | "inactive";
40267
40772
  /** @enum {string} */
40268
- ledger?: "trust" | "operating";
40773
+ ledger?: "historical" | "trust" | "operating";
40269
40774
  startAt?: string;
40270
40775
  endAt?: string;
40271
40776
  search?: string;
@@ -40409,7 +40914,7 @@ export interface operations {
40409
40914
  /** @enum {string} */
40410
40915
  status?: "active" | "inactive";
40411
40916
  /** @enum {string} */
40412
- ledger?: "trust" | "operating";
40917
+ ledger?: "historical" | "trust" | "operating";
40413
40918
  startAt?: string;
40414
40919
  endAt?: string;
40415
40920
  search?: string;
@@ -40486,7 +40991,7 @@ export interface operations {
40486
40991
  /** @enum {string} */
40487
40992
  status?: "active" | "inactive";
40488
40993
  /** @enum {string} */
40489
- ledger?: "trust" | "operating";
40994
+ ledger?: "historical" | "trust" | "operating";
40490
40995
  startAt?: string;
40491
40996
  endAt?: string;
40492
40997
  search?: string;
@@ -40646,7 +41151,7 @@ export interface operations {
40646
41151
  /** @enum {string} */
40647
41152
  status?: "active" | "inactive";
40648
41153
  /** @enum {string} */
40649
- ledger?: "trust" | "operating";
41154
+ ledger?: "historical" | "trust" | "operating";
40650
41155
  startAt?: string;
40651
41156
  endAt?: string;
40652
41157
  search?: string;
@@ -40723,7 +41228,7 @@ export interface operations {
40723
41228
  /** @enum {string} */
40724
41229
  status?: "active" | "inactive";
40725
41230
  /** @enum {string} */
40726
- ledger?: "trust" | "operating";
41231
+ ledger?: "historical" | "trust" | "operating";
40727
41232
  startAt?: string;
40728
41233
  endAt?: string;
40729
41234
  search?: string;
@@ -41128,7 +41633,7 @@ export interface operations {
41128
41633
  /** @enum {string} */
41129
41634
  status?: "active" | "inactive";
41130
41635
  /** @enum {string} */
41131
- ledger?: "trust" | "operating";
41636
+ ledger?: "historical" | "trust" | "operating";
41132
41637
  startAt?: string;
41133
41638
  endAt?: string;
41134
41639
  search?: string;
@@ -41413,7 +41918,7 @@ export interface operations {
41413
41918
  /** @enum {string} */
41414
41919
  status?: "active" | "inactive";
41415
41920
  /** @enum {string} */
41416
- ledger?: "trust" | "operating";
41921
+ ledger?: "historical" | "trust" | "operating";
41417
41922
  startAt?: string;
41418
41923
  endAt?: string;
41419
41924
  search?: string;
@@ -41490,7 +41995,7 @@ export interface operations {
41490
41995
  /** @enum {string} */
41491
41996
  status?: "active" | "inactive";
41492
41997
  /** @enum {string} */
41493
- ledger?: "trust" | "operating";
41998
+ ledger?: "historical" | "trust" | "operating";
41494
41999
  startAt?: string;
41495
42000
  endAt?: string;
41496
42001
  search?: string;
@@ -41634,7 +42139,7 @@ export interface operations {
41634
42139
  /** @enum {string} */
41635
42140
  status?: "active" | "inactive";
41636
42141
  /** @enum {string} */
41637
- ledger?: "trust" | "operating";
42142
+ ledger?: "historical" | "trust" | "operating";
41638
42143
  startAt?: string;
41639
42144
  endAt?: string;
41640
42145
  search?: string;
@@ -41711,7 +42216,7 @@ export interface operations {
41711
42216
  /** @enum {string} */
41712
42217
  status?: "active" | "inactive";
41713
42218
  /** @enum {string} */
41714
- ledger?: "trust" | "operating";
42219
+ ledger?: "historical" | "trust" | "operating";
41715
42220
  startAt?: string;
41716
42221
  endAt?: string;
41717
42222
  search?: string;
@@ -41871,7 +42376,7 @@ export interface operations {
41871
42376
  /** @enum {string} */
41872
42377
  status?: "active" | "inactive";
41873
42378
  /** @enum {string} */
41874
- ledger?: "trust" | "operating";
42379
+ ledger?: "historical" | "trust" | "operating";
41875
42380
  startAt?: string;
41876
42381
  endAt?: string;
41877
42382
  search?: string;
@@ -41948,7 +42453,7 @@ export interface operations {
41948
42453
  /** @enum {string} */
41949
42454
  status?: "active" | "inactive";
41950
42455
  /** @enum {string} */
41951
- ledger?: "trust" | "operating";
42456
+ ledger?: "historical" | "trust" | "operating";
41952
42457
  startAt?: string;
41953
42458
  endAt?: string;
41954
42459
  search?: string;
@@ -44590,7 +45095,7 @@ export interface operations {
44590
45095
  /** @enum {string} */
44591
45096
  status?: "active" | "inactive";
44592
45097
  /** @enum {string} */
44593
- ledger?: "trust" | "operating";
45098
+ ledger?: "historical" | "trust" | "operating";
44594
45099
  startAt?: string;
44595
45100
  endAt?: string;
44596
45101
  search?: string;
@@ -44875,7 +45380,7 @@ export interface operations {
44875
45380
  /** @enum {string} */
44876
45381
  status?: "active" | "inactive";
44877
45382
  /** @enum {string} */
44878
- ledger?: "trust" | "operating";
45383
+ ledger?: "historical" | "trust" | "operating";
44879
45384
  startAt?: string;
44880
45385
  endAt?: string;
44881
45386
  search?: string;
@@ -44952,7 +45457,7 @@ export interface operations {
44952
45457
  /** @enum {string} */
44953
45458
  status?: "active" | "inactive";
44954
45459
  /** @enum {string} */
44955
- ledger?: "trust" | "operating";
45460
+ ledger?: "historical" | "trust" | "operating";
44956
45461
  startAt?: string;
44957
45462
  endAt?: string;
44958
45463
  search?: string;
@@ -45096,7 +45601,7 @@ export interface operations {
45096
45601
  /** @enum {string} */
45097
45602
  status?: "active" | "inactive";
45098
45603
  /** @enum {string} */
45099
- ledger?: "trust" | "operating";
45604
+ ledger?: "historical" | "trust" | "operating";
45100
45605
  startAt?: string;
45101
45606
  endAt?: string;
45102
45607
  search?: string;
@@ -45173,7 +45678,7 @@ export interface operations {
45173
45678
  /** @enum {string} */
45174
45679
  status?: "active" | "inactive";
45175
45680
  /** @enum {string} */
45176
- ledger?: "trust" | "operating";
45681
+ ledger?: "historical" | "trust" | "operating";
45177
45682
  startAt?: string;
45178
45683
  endAt?: string;
45179
45684
  search?: string;
@@ -45333,7 +45838,7 @@ export interface operations {
45333
45838
  /** @enum {string} */
45334
45839
  status?: "active" | "inactive";
45335
45840
  /** @enum {string} */
45336
- ledger?: "trust" | "operating";
45841
+ ledger?: "historical" | "trust" | "operating";
45337
45842
  startAt?: string;
45338
45843
  endAt?: string;
45339
45844
  search?: string;
@@ -45410,7 +45915,7 @@ export interface operations {
45410
45915
  /** @enum {string} */
45411
45916
  status?: "active" | "inactive";
45412
45917
  /** @enum {string} */
45413
- ledger?: "trust" | "operating";
45918
+ ledger?: "historical" | "trust" | "operating";
45414
45919
  startAt?: string;
45415
45920
  endAt?: string;
45416
45921
  search?: string;
@@ -45820,7 +46325,7 @@ export interface operations {
45820
46325
  /** @enum {string} */
45821
46326
  status?: "active" | "inactive";
45822
46327
  /** @enum {string} */
45823
- ledger?: "trust" | "operating";
46328
+ ledger?: "historical" | "trust" | "operating";
45824
46329
  startAt?: string;
45825
46330
  endAt?: string;
45826
46331
  search?: string;
@@ -46105,7 +46610,7 @@ export interface operations {
46105
46610
  /** @enum {string} */
46106
46611
  status?: "active" | "inactive";
46107
46612
  /** @enum {string} */
46108
- ledger?: "trust" | "operating";
46613
+ ledger?: "historical" | "trust" | "operating";
46109
46614
  startAt?: string;
46110
46615
  endAt?: string;
46111
46616
  search?: string;
@@ -46182,7 +46687,7 @@ export interface operations {
46182
46687
  /** @enum {string} */
46183
46688
  status?: "active" | "inactive";
46184
46689
  /** @enum {string} */
46185
- ledger?: "trust" | "operating";
46690
+ ledger?: "historical" | "trust" | "operating";
46186
46691
  startAt?: string;
46187
46692
  endAt?: string;
46188
46693
  search?: string;
@@ -46326,7 +46831,7 @@ export interface operations {
46326
46831
  /** @enum {string} */
46327
46832
  status?: "active" | "inactive";
46328
46833
  /** @enum {string} */
46329
- ledger?: "trust" | "operating";
46834
+ ledger?: "historical" | "trust" | "operating";
46330
46835
  startAt?: string;
46331
46836
  endAt?: string;
46332
46837
  search?: string;
@@ -46403,7 +46908,7 @@ export interface operations {
46403
46908
  /** @enum {string} */
46404
46909
  status?: "active" | "inactive";
46405
46910
  /** @enum {string} */
46406
- ledger?: "trust" | "operating";
46911
+ ledger?: "historical" | "trust" | "operating";
46407
46912
  startAt?: string;
46408
46913
  endAt?: string;
46409
46914
  search?: string;
@@ -46563,7 +47068,7 @@ export interface operations {
46563
47068
  /** @enum {string} */
46564
47069
  status?: "active" | "inactive";
46565
47070
  /** @enum {string} */
46566
- ledger?: "trust" | "operating";
47071
+ ledger?: "historical" | "trust" | "operating";
46567
47072
  startAt?: string;
46568
47073
  endAt?: string;
46569
47074
  search?: string;
@@ -46640,7 +47145,7 @@ export interface operations {
46640
47145
  /** @enum {string} */
46641
47146
  status?: "active" | "inactive";
46642
47147
  /** @enum {string} */
46643
- ledger?: "trust" | "operating";
47148
+ ledger?: "historical" | "trust" | "operating";
46644
47149
  startAt?: string;
46645
47150
  endAt?: string;
46646
47151
  search?: string;
@@ -48184,6 +48689,9 @@ export interface operations {
48184
48689
  parameters: {
48185
48690
  query?: {
48186
48691
  status?: "active" | "inactive" | "deleted" | "onboarding";
48692
+ search?: string;
48693
+ partnerId?: string;
48694
+ type?: "partner" | "propertyManager";
48187
48695
  /** @description You can use elipisis: YYYY-MM-DD...YYYY-MM-DD */
48188
48696
  date?: string;
48189
48697
  limit?: number;
@@ -48211,6 +48719,7 @@ export interface operations {
48211
48719
  migratedFromTenantId?: string | null;
48212
48720
  historicalStatementsImportedAt?: string | null;
48213
48721
  name: string;
48722
+ slug: string;
48214
48723
  statementAddress?: {
48215
48724
  full?: string | null;
48216
48725
  line1?: string | null;
@@ -48445,6 +48954,7 @@ export interface operations {
48445
48954
  longTermStayNights?: number | null;
48446
48955
  defaultRevenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
48447
48956
  name: string;
48957
+ slug?: string;
48448
48958
  statementAddress?: {
48449
48959
  full?: string | null;
48450
48960
  line1?: string | null;
@@ -48518,6 +49028,7 @@ export interface operations {
48518
49028
  migratedFromTenantId?: string | null;
48519
49029
  historicalStatementsImportedAt?: string | null;
48520
49030
  name: string;
49031
+ slug: string;
48521
49032
  statementAddress?: {
48522
49033
  full?: string | null;
48523
49034
  line1?: string | null;
@@ -49154,6 +49665,7 @@ export interface operations {
49154
49665
  migratedFromTenantId?: string | null;
49155
49666
  historicalStatementsImportedAt?: string | null;
49156
49667
  name: string;
49668
+ slug: string;
49157
49669
  statementAddress?: {
49158
49670
  full?: string | null;
49159
49671
  line1?: string | null;
@@ -49409,6 +49921,7 @@ export interface operations {
49409
49921
  migratedFromTenantId?: string | null;
49410
49922
  historicalStatementsImportedAt?: string | null;
49411
49923
  name: string;
49924
+ slug: string;
49412
49925
  statementAddress?: {
49413
49926
  full?: string | null;
49414
49927
  line1?: string | null;
@@ -49657,6 +50170,7 @@ export interface operations {
49657
50170
  migratedFromTenantId?: string | null;
49658
50171
  historicalStatementsImportedAt?: string | null;
49659
50172
  name: string;
50173
+ slug: string;
49660
50174
  statementAddress?: {
49661
50175
  full?: string | null;
49662
50176
  line1?: string | null;
@@ -51373,6 +51887,243 @@ export interface operations {
51373
51887
  };
51374
51888
  };
51375
51889
  };
51890
+ getTeamsResolve: {
51891
+ parameters: {
51892
+ query: {
51893
+ slug: string;
51894
+ };
51895
+ header?: never;
51896
+ path?: never;
51897
+ cookie?: never;
51898
+ };
51899
+ requestBody?: never;
51900
+ responses: {
51901
+ /** @description Successful response */
51902
+ 200: {
51903
+ headers: {
51904
+ [name: string]: unknown;
51905
+ };
51906
+ content: {
51907
+ "application/json": {
51908
+ /** Format: uuid */
51909
+ id: string;
51910
+ defaultCurrency?: string | null;
51911
+ longTermStayNights?: number | null;
51912
+ defaultRevenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
51913
+ migratedFromTenantId?: string | null;
51914
+ historicalStatementsImportedAt?: string | null;
51915
+ name: string;
51916
+ slug: string;
51917
+ statementAddress?: {
51918
+ full?: string | null;
51919
+ line1?: string | null;
51920
+ line2?: string | null;
51921
+ city?: string | null;
51922
+ /** @description Deprecated, use stateCode instead */
51923
+ state?: string | null;
51924
+ postalCode?: string | null;
51925
+ stateCode?: string | null;
51926
+ countryCode?: string | null;
51927
+ } | null;
51928
+ billingAddress?: {
51929
+ full?: string | null;
51930
+ line1?: string | null;
51931
+ line2?: string | null;
51932
+ city?: string | null;
51933
+ /** @description Deprecated, use stateCode instead */
51934
+ state?: string | null;
51935
+ postalCode?: string | null;
51936
+ stateCode?: string | null;
51937
+ countryCode?: string | null;
51938
+ } | null;
51939
+ phone?: string | null;
51940
+ email?: string | null;
51941
+ taxId?: string | null;
51942
+ partner?: {
51943
+ /** Format: uuid */
51944
+ id: string;
51945
+ name: string;
51946
+ } | null;
51947
+ billingPartner?: {
51948
+ /** Format: uuid */
51949
+ id: string;
51950
+ name: string;
51951
+ } | null;
51952
+ companyName?: string | null;
51953
+ /** @enum {string} */
51954
+ type: "partner" | "admin" | "propertyManager";
51955
+ /** @enum {string} */
51956
+ status: "active" | "inactive" | "deleted" | "onboarding";
51957
+ billingSubscriptionStatus?: string | null;
51958
+ billingPlan?: string | null;
51959
+ billingPaymentMethodType?: string | null;
51960
+ billingCustomerId?: string | null;
51961
+ colorPrimary?: string | null;
51962
+ createdAt?: string | null;
51963
+ updatedAt?: string | null;
51964
+ trialUntil?: string | null;
51965
+ cancelledAt?: string | null;
51966
+ isOnboarding?: boolean | null;
51967
+ issues: ({
51968
+ /** @constant */
51969
+ code: "unassignedAccount";
51970
+ /** @constant */
51971
+ severity: "error";
51972
+ context: {
51973
+ accountIds: string[];
51974
+ };
51975
+ } | {
51976
+ /** @constant */
51977
+ code: "brokenConnections";
51978
+ /** @constant */
51979
+ severity: "error";
51980
+ context: {
51981
+ connections: {
51982
+ /** Format: uuid */
51983
+ id: string;
51984
+ name: string;
51985
+ appId: string;
51986
+ }[];
51987
+ };
51988
+ } | {
51989
+ /** @constant */
51990
+ code: "outdatedConnections";
51991
+ /** @constant */
51992
+ severity: "error";
51993
+ context: {
51994
+ connections: {
51995
+ /** Format: uuid */
51996
+ id: string;
51997
+ name: string;
51998
+ appId: string;
51999
+ }[];
52000
+ };
52001
+ })[];
52002
+ isGeneralLedger?: boolean | null;
52003
+ isOpex?: boolean;
52004
+ booksClosedAt?: string | null;
52005
+ logo?: string | null;
52006
+ statementStartAt?: string | null;
52007
+ effectiveStatementStartAt?: string | null;
52008
+ settings: {
52009
+ showReservations: boolean;
52010
+ showCancelledReservations: boolean;
52011
+ showReservationTotal: boolean;
52012
+ showOwnerCalendarBlocking: boolean;
52013
+ showTaxStatements: boolean;
52014
+ showTwoFactorAuth: boolean;
52015
+ };
52016
+ ownerPortalShowDraftStatements?: boolean;
52017
+ members?: {
52018
+ userId: string;
52019
+ email?: string | null;
52020
+ role: string;
52021
+ name?: string | null;
52022
+ firstName?: string | null;
52023
+ }[] | null;
52024
+ extractableConnections?: {
52025
+ [key: string]: {
52026
+ connections: {
52027
+ /** Format: uuid */
52028
+ id: string;
52029
+ name: string;
52030
+ appId: string;
52031
+ urlExample?: string | null;
52032
+ allowConfirmationCode?: boolean | null;
52033
+ }[];
52034
+ };
52035
+ } | null;
52036
+ enabledFeatures?: {
52037
+ /** Format: uuid */
52038
+ featureId: string;
52039
+ /** @enum {string} */
52040
+ status: "all" | "disabled" | "partially";
52041
+ }[];
52042
+ };
52043
+ };
52044
+ };
52045
+ /** @description Bad request */
52046
+ 400: {
52047
+ headers: {
52048
+ [name: string]: unknown;
52049
+ };
52050
+ content: {
52051
+ "application/json": {
52052
+ code: string;
52053
+ message: string;
52054
+ issues?: {
52055
+ message: string;
52056
+ }[];
52057
+ context?: unknown;
52058
+ };
52059
+ };
52060
+ };
52061
+ /** @description Unauthorized */
52062
+ 401: {
52063
+ headers: {
52064
+ [name: string]: unknown;
52065
+ };
52066
+ content: {
52067
+ "application/json": {
52068
+ code: string;
52069
+ message: string;
52070
+ issues?: {
52071
+ message: string;
52072
+ }[];
52073
+ context?: unknown;
52074
+ };
52075
+ };
52076
+ };
52077
+ /** @description Forbidden */
52078
+ 403: {
52079
+ headers: {
52080
+ [name: string]: unknown;
52081
+ };
52082
+ content: {
52083
+ "application/json": {
52084
+ code: string;
52085
+ message: string;
52086
+ issues?: {
52087
+ message: string;
52088
+ }[];
52089
+ context?: unknown;
52090
+ };
52091
+ };
52092
+ };
52093
+ /** @description Not found */
52094
+ 404: {
52095
+ headers: {
52096
+ [name: string]: unknown;
52097
+ };
52098
+ content: {
52099
+ "application/json": {
52100
+ code: string;
52101
+ message: string;
52102
+ issues?: {
52103
+ message: string;
52104
+ }[];
52105
+ context?: unknown;
52106
+ };
52107
+ };
52108
+ };
52109
+ /** @description Internal server error */
52110
+ 500: {
52111
+ headers: {
52112
+ [name: string]: unknown;
52113
+ };
52114
+ content: {
52115
+ "application/json": {
52116
+ code: string;
52117
+ message: string;
52118
+ issues?: {
52119
+ message: string;
52120
+ }[];
52121
+ context?: unknown;
52122
+ };
52123
+ };
52124
+ };
52125
+ };
52126
+ };
51376
52127
  getTeamsById: {
51377
52128
  parameters: {
51378
52129
  query?: never;
@@ -51399,6 +52150,7 @@ export interface operations {
51399
52150
  migratedFromTenantId?: string | null;
51400
52151
  historicalStatementsImportedAt?: string | null;
51401
52152
  name: string;
52153
+ slug: string;
51402
52154
  statementAddress?: {
51403
52155
  full?: string | null;
51404
52156
  line1?: string | null;
@@ -51625,6 +52377,7 @@ export interface operations {
51625
52377
  longTermStayNights?: number | null;
51626
52378
  defaultRevenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
51627
52379
  name?: string;
52380
+ slug?: string;
51628
52381
  statementAddress?: {
51629
52382
  full?: string | null;
51630
52383
  line1?: string | null;
@@ -51712,6 +52465,7 @@ export interface operations {
51712
52465
  migratedFromTenantId?: string | null;
51713
52466
  historicalStatementsImportedAt?: string | null;
51714
52467
  name: string;
52468
+ slug: string;
51715
52469
  statementAddress?: {
51716
52470
  full?: string | null;
51717
52471
  line1?: string | null;
@@ -52401,6 +53155,7 @@ export interface operations {
52401
53155
  migratedFromTenantId?: string | null;
52402
53156
  historicalStatementsImportedAt?: string | null;
52403
53157
  name: string;
53158
+ slug: string;
52404
53159
  statementAddress?: {
52405
53160
  full?: string | null;
52406
53161
  line1?: string | null;