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