@vrplatform/api 1.3.0-stage.1192 → 1.3.0-stage.1194

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.
@@ -255,7 +255,7 @@ export interface paths {
255
255
  path?: never;
256
256
  cookie?: never;
257
257
  };
258
- /** @description Get listing ownership periods */
258
+ /** @description List listing ownership periods */
259
259
  get: operations["getListingOwnerships"];
260
260
  put?: never;
261
261
  /** @description Create a listing ownership period */
@@ -302,23 +302,6 @@ export interface paths {
302
302
  patch?: never;
303
303
  trace?: never;
304
304
  };
305
- "/listings/connections": {
306
- parameters: {
307
- query?: never;
308
- header?: never;
309
- path?: never;
310
- cookie?: never;
311
- };
312
- /** @description Get listing connections */
313
- get: operations["getListingConnections"];
314
- put?: never;
315
- post?: never;
316
- delete?: never;
317
- options?: never;
318
- head?: never;
319
- patch?: never;
320
- trace?: never;
321
- };
322
305
  "/listings/{id}": {
323
306
  parameters: {
324
307
  query?: never;
@@ -522,7 +505,7 @@ export interface paths {
522
505
  path?: never;
523
506
  cookie?: never;
524
507
  };
525
- /** @description Delete listing period recurring fee */
508
+ /** @description List recurring fee listing periods */
526
509
  get: operations["getRecurringFeeListingPeriods"];
527
510
  /** @description Update multiple Listing Subscription */
528
511
  put: operations["updateMultipleRecurringFeeListingPeriod"];
@@ -4293,6 +4276,16 @@ export interface operations {
4293
4276
  difference: number;
4294
4277
  };
4295
4278
  message: string;
4279
+ } | {
4280
+ /** @enum {string} */
4281
+ code: "locked";
4282
+ /** @enum {string} */
4283
+ severity: "warning";
4284
+ context: {
4285
+ reasons: ("statement" | "period")[];
4286
+ statementIds?: string[];
4287
+ booksClosedAt?: string;
4288
+ };
4296
4289
  })[];
4297
4290
  connection?: {
4298
4291
  /** Format: uuid */
@@ -4681,6 +4674,16 @@ export interface operations {
4681
4674
  difference: number;
4682
4675
  };
4683
4676
  message: string;
4677
+ } | {
4678
+ /** @enum {string} */
4679
+ code: "locked";
4680
+ /** @enum {string} */
4681
+ severity: "warning";
4682
+ context: {
4683
+ reasons: ("statement" | "period")[];
4684
+ statementIds?: string[];
4685
+ booksClosedAt?: string;
4686
+ };
4684
4687
  })[];
4685
4688
  connection?: {
4686
4689
  /** Format: uuid */
@@ -5158,6 +5161,16 @@ export interface operations {
5158
5161
  difference: number;
5159
5162
  };
5160
5163
  message: string;
5164
+ } | {
5165
+ /** @enum {string} */
5166
+ code: "locked";
5167
+ /** @enum {string} */
5168
+ severity: "warning";
5169
+ context: {
5170
+ reasons: ("statement" | "period")[];
5171
+ statementIds?: string[];
5172
+ booksClosedAt?: string;
5173
+ };
5161
5174
  })[];
5162
5175
  connection?: {
5163
5176
  /** Format: uuid */
@@ -5569,6 +5582,16 @@ export interface operations {
5569
5582
  difference: number;
5570
5583
  };
5571
5584
  message: string;
5585
+ } | {
5586
+ /** @enum {string} */
5587
+ code: "locked";
5588
+ /** @enum {string} */
5589
+ severity: "warning";
5590
+ context: {
5591
+ reasons: ("statement" | "period")[];
5592
+ statementIds?: string[];
5593
+ booksClosedAt?: string;
5594
+ };
5572
5595
  })[];
5573
5596
  connection?: {
5574
5597
  /** Format: uuid */
@@ -5863,6 +5886,16 @@ export interface operations {
5863
5886
  difference: number;
5864
5887
  };
5865
5888
  message: string;
5889
+ } | {
5890
+ /** @enum {string} */
5891
+ code: "locked";
5892
+ /** @enum {string} */
5893
+ severity: "warning";
5894
+ context: {
5895
+ reasons: ("statement" | "period")[];
5896
+ statementIds?: string[];
5897
+ booksClosedAt?: string;
5898
+ };
5866
5899
  })[];
5867
5900
  connection?: {
5868
5901
  /** Format: uuid */
@@ -6077,6 +6110,8 @@ export interface operations {
6077
6110
  parameters: {
6078
6111
  query?: {
6079
6112
  listingId?: string;
6113
+ limit?: number;
6114
+ page?: number;
6080
6115
  };
6081
6116
  header?: {
6082
6117
  "X-Team-Id"?: string;
@@ -6114,6 +6149,15 @@ export interface operations {
6114
6149
  /** Format: uuid */
6115
6150
  id: string;
6116
6151
  }[];
6152
+ pagination: {
6153
+ /** @default 100 */
6154
+ limit: number;
6155
+ /** @default 1 */
6156
+ page: number;
6157
+ total: number;
6158
+ totalPage: number;
6159
+ nextPage?: number;
6160
+ };
6117
6161
  };
6118
6162
  };
6119
6163
  };
@@ -6764,115 +6808,6 @@ export interface operations {
6764
6808
  };
6765
6809
  };
6766
6810
  };
6767
- getListingConnections: {
6768
- parameters: {
6769
- query?: {
6770
- connectionId?: string;
6771
- limit?: number;
6772
- page?: number;
6773
- };
6774
- header?: {
6775
- "X-Team-Id"?: string;
6776
- };
6777
- path?: never;
6778
- cookie?: never;
6779
- };
6780
- requestBody?: never;
6781
- responses: {
6782
- /** @description Successful response */
6783
- 200: {
6784
- headers: {
6785
- [name: string]: unknown;
6786
- };
6787
- content: {
6788
- "application/json": {
6789
- data: {
6790
- /** Format: uuid */
6791
- id: string;
6792
- uniqueRef?: string | null;
6793
- connection?: {
6794
- /** Format: uuid */
6795
- id: string;
6796
- name?: string | null;
6797
- uniqueRef?: string | null;
6798
- appId?: string | null;
6799
- } | null;
6800
- name?: string | null;
6801
- source?: {
6802
- /** Format: uuid */
6803
- id: string;
6804
- type: string;
6805
- /** @enum {string|null} */
6806
- status?: "active" | "inactive" | null;
6807
- } | null;
6808
- listing?: {
6809
- /** Format: uuid */
6810
- id: string;
6811
- name?: string | null;
6812
- uniqueRef?: string | null;
6813
- /** Format: uuid */
6814
- connectionId?: string | null;
6815
- } | null;
6816
- }[];
6817
- pagination: {
6818
- /** @default 100 */
6819
- limit: number;
6820
- /** @default 1 */
6821
- page: number;
6822
- total: number;
6823
- totalPage: number;
6824
- nextPage?: number;
6825
- };
6826
- };
6827
- };
6828
- };
6829
- /** @description Invalid input data */
6830
- 400: {
6831
- headers: {
6832
- [name: string]: unknown;
6833
- };
6834
- content: {
6835
- "application/json": components["schemas"]["error.BAD_REQUEST"];
6836
- };
6837
- };
6838
- /** @description Authorization not provided */
6839
- 401: {
6840
- headers: {
6841
- [name: string]: unknown;
6842
- };
6843
- content: {
6844
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
6845
- };
6846
- };
6847
- /** @description Insufficient access */
6848
- 403: {
6849
- headers: {
6850
- [name: string]: unknown;
6851
- };
6852
- content: {
6853
- "application/json": components["schemas"]["error.FORBIDDEN"];
6854
- };
6855
- };
6856
- /** @description Not found */
6857
- 404: {
6858
- headers: {
6859
- [name: string]: unknown;
6860
- };
6861
- content: {
6862
- "application/json": components["schemas"]["error.NOT_FOUND"];
6863
- };
6864
- };
6865
- /** @description Internal server error */
6866
- 500: {
6867
- headers: {
6868
- [name: string]: unknown;
6869
- };
6870
- content: {
6871
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
6872
- };
6873
- };
6874
- };
6875
- };
6876
6811
  getListing: {
6877
6812
  parameters: {
6878
6813
  query?: never;
@@ -6914,31 +6849,37 @@ export interface operations {
6914
6849
  status: "active" | "inactive";
6915
6850
  defaultCurrency?: string | null;
6916
6851
  activeOwnership?: {
6917
- /** @default 2025-12-03 */
6852
+ /** Format: uuid */
6853
+ id: string;
6918
6854
  startAt: string;
6919
6855
  endAt?: string | null;
6920
- setListingInactive?: boolean | null;
6921
- /**
6922
- * @default managed
6923
- * @enum {string|null}
6924
- */
6925
- businessModel: "managed" | "co_host" | "co_host_airbnb" | null;
6926
6856
  members: {
6927
6857
  /** Format: uuid */
6928
6858
  contactId?: string | null;
6929
6859
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
6930
6860
  split?: number | null;
6931
6861
  }[];
6932
- /** Format: uuid */
6933
- id: string;
6862
+ setListingInactive?: boolean | null;
6863
+ /** @enum {string} */
6864
+ businessModel: "managed" | "co_host" | "co_host_airbnb";
6865
+ issues: {
6866
+ /** @enum {string} */
6867
+ code: "locked";
6868
+ /** @enum {string} */
6869
+ severity: "warning";
6870
+ context: {
6871
+ reasons: ("statement" | "period")[];
6872
+ statementIds?: string[];
6873
+ };
6874
+ }[];
6934
6875
  } | null;
6935
6876
  activeRecurringFeePeriods?: {
6877
+ /** Format: uuid */
6878
+ id: string;
6936
6879
  startAt?: string | null;
6937
6880
  endAt?: string | null;
6938
6881
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
6939
6882
  rate?: number | null;
6940
- /** Format: uuid */
6941
- id: string;
6942
6883
  recurringFee: {
6943
6884
  /** Format: uuid */
6944
6885
  id: string;
@@ -7127,31 +7068,37 @@ export interface operations {
7127
7068
  status: "active" | "inactive";
7128
7069
  defaultCurrency?: string | null;
7129
7070
  activeOwnership?: {
7130
- /** @default 2025-12-03 */
7071
+ /** Format: uuid */
7072
+ id: string;
7131
7073
  startAt: string;
7132
7074
  endAt?: string | null;
7133
- setListingInactive?: boolean | null;
7134
- /**
7135
- * @default managed
7136
- * @enum {string|null}
7137
- */
7138
- businessModel: "managed" | "co_host" | "co_host_airbnb" | null;
7139
7075
  members: {
7140
7076
  /** Format: uuid */
7141
7077
  contactId?: string | null;
7142
7078
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
7143
7079
  split?: number | null;
7144
7080
  }[];
7145
- /** Format: uuid */
7146
- id: string;
7081
+ setListingInactive?: boolean | null;
7082
+ /** @enum {string} */
7083
+ businessModel: "managed" | "co_host" | "co_host_airbnb";
7084
+ issues: {
7085
+ /** @enum {string} */
7086
+ code: "locked";
7087
+ /** @enum {string} */
7088
+ severity: "warning";
7089
+ context: {
7090
+ reasons: ("statement" | "period")[];
7091
+ statementIds?: string[];
7092
+ };
7093
+ }[];
7147
7094
  } | null;
7148
7095
  activeRecurringFeePeriods?: {
7096
+ /** Format: uuid */
7097
+ id: string;
7149
7098
  startAt?: string | null;
7150
7099
  endAt?: string | null;
7151
7100
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
7152
7101
  rate?: number | null;
7153
- /** Format: uuid */
7154
- id: string;
7155
7102
  recurringFee: {
7156
7103
  /** Format: uuid */
7157
7104
  id: string;
@@ -7354,31 +7301,37 @@ export interface operations {
7354
7301
  status: "active" | "inactive";
7355
7302
  defaultCurrency?: string | null;
7356
7303
  activeOwnership?: {
7357
- /** @default 2025-12-03 */
7304
+ /** Format: uuid */
7305
+ id: string;
7358
7306
  startAt: string;
7359
7307
  endAt?: string | null;
7360
- setListingInactive?: boolean | null;
7361
- /**
7362
- * @default managed
7363
- * @enum {string|null}
7364
- */
7365
- businessModel: "managed" | "co_host" | "co_host_airbnb" | null;
7366
7308
  members: {
7367
7309
  /** Format: uuid */
7368
7310
  contactId?: string | null;
7369
7311
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
7370
7312
  split?: number | null;
7371
7313
  }[];
7372
- /** Format: uuid */
7373
- id: string;
7314
+ setListingInactive?: boolean | null;
7315
+ /** @enum {string} */
7316
+ businessModel: "managed" | "co_host" | "co_host_airbnb";
7317
+ issues: {
7318
+ /** @enum {string} */
7319
+ code: "locked";
7320
+ /** @enum {string} */
7321
+ severity: "warning";
7322
+ context: {
7323
+ reasons: ("statement" | "period")[];
7324
+ statementIds?: string[];
7325
+ };
7326
+ }[];
7374
7327
  } | null;
7375
7328
  activeRecurringFeePeriods?: {
7329
+ /** Format: uuid */
7330
+ id: string;
7376
7331
  startAt?: string | null;
7377
7332
  endAt?: string | null;
7378
7333
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
7379
7334
  rate?: number | null;
7380
- /** Format: uuid */
7381
- id: string;
7382
7335
  recurringFee: {
7383
7336
  /** Format: uuid */
7384
7337
  id: string;
@@ -9969,6 +9922,17 @@ export interface operations {
9969
9922
  statusFilter?: "canceled" | "booked" | null;
9970
9923
  id: string;
9971
9924
  uniqueRef: string;
9925
+ issues: {
9926
+ /** @enum {string} */
9927
+ code: "locked";
9928
+ /** @enum {string} */
9929
+ severity: "warning";
9930
+ context: {
9931
+ reasons: ("statement" | "period")[];
9932
+ statementIds?: string[];
9933
+ booksClosedAt?: string;
9934
+ };
9935
+ }[];
9972
9936
  creditAccount: {
9973
9937
  id: string;
9974
9938
  name: string;
@@ -10134,6 +10098,17 @@ export interface operations {
10134
10098
  statusFilter?: "canceled" | "booked" | null;
10135
10099
  id: string;
10136
10100
  uniqueRef: string;
10101
+ issues: {
10102
+ /** @enum {string} */
10103
+ code: "locked";
10104
+ /** @enum {string} */
10105
+ severity: "warning";
10106
+ context: {
10107
+ reasons: ("statement" | "period")[];
10108
+ statementIds?: string[];
10109
+ booksClosedAt?: string;
10110
+ };
10111
+ }[];
10137
10112
  creditAccount: {
10138
10113
  id: string;
10139
10114
  name: string;
@@ -10334,6 +10309,17 @@ export interface operations {
10334
10309
  statusFilter?: "canceled" | "booked" | null;
10335
10310
  id: string;
10336
10311
  uniqueRef: string;
10312
+ issues: {
10313
+ /** @enum {string} */
10314
+ code: "locked";
10315
+ /** @enum {string} */
10316
+ severity: "warning";
10317
+ context: {
10318
+ reasons: ("statement" | "period")[];
10319
+ statementIds?: string[];
10320
+ booksClosedAt?: string;
10321
+ };
10322
+ }[];
10337
10323
  creditAccount: {
10338
10324
  id: string;
10339
10325
  name: string;
@@ -10507,6 +10493,17 @@ export interface operations {
10507
10493
  statusFilter?: "canceled" | "booked" | null;
10508
10494
  id: string;
10509
10495
  uniqueRef: string;
10496
+ issues: {
10497
+ /** @enum {string} */
10498
+ code: "locked";
10499
+ /** @enum {string} */
10500
+ severity: "warning";
10501
+ context: {
10502
+ reasons: ("statement" | "period")[];
10503
+ statementIds?: string[];
10504
+ booksClosedAt?: string;
10505
+ };
10506
+ }[];
10510
10507
  creditAccount: {
10511
10508
  id: string;
10512
10509
  name: string;
@@ -11544,13 +11541,23 @@ export interface operations {
11544
11541
  bankAccountRef?: string | null;
11545
11542
  } | null;
11546
11543
  id: string;
11547
- issues: {
11544
+ issues: ({
11548
11545
  /** @enum {string} */
11549
11546
  code: "line_unassignedAccount";
11550
11547
  /** @enum {string} */
11551
11548
  severity: "error";
11552
11549
  context: Record<string, never>;
11553
- }[];
11550
+ } | {
11551
+ /** @enum {string} */
11552
+ code: "locked";
11553
+ /** @enum {string} */
11554
+ severity: "warning";
11555
+ context: {
11556
+ reasons: ("statement" | "period")[];
11557
+ statementIds?: string[];
11558
+ booksClosedAt?: string;
11559
+ };
11560
+ })[];
11554
11561
  currency: string;
11555
11562
  /** @description Value in cents (100 = 1€) */
11556
11563
  amount: number;
@@ -14084,13 +14091,23 @@ export interface operations {
14084
14091
  bankAccountRef?: string | null;
14085
14092
  } | null;
14086
14093
  id: string;
14087
- issues: {
14094
+ issues: ({
14088
14095
  /** @enum {string} */
14089
14096
  code: "line_unassignedAccount";
14090
14097
  /** @enum {string} */
14091
14098
  severity: "error";
14092
14099
  context: Record<string, never>;
14093
- }[];
14100
+ } | {
14101
+ /** @enum {string} */
14102
+ code: "locked";
14103
+ /** @enum {string} */
14104
+ severity: "warning";
14105
+ context: {
14106
+ reasons: ("statement" | "period")[];
14107
+ statementIds?: string[];
14108
+ booksClosedAt?: string;
14109
+ };
14110
+ })[];
14094
14111
  currency: string;
14095
14112
  /** @description Value in cents (100 = 1€) */
14096
14113
  amount: number;
@@ -14531,13 +14548,23 @@ export interface operations {
14531
14548
  bankAccountRef?: string | null;
14532
14549
  } | null;
14533
14550
  id: string;
14534
- issues: {
14551
+ issues: ({
14535
14552
  /** @enum {string} */
14536
14553
  code: "line_unassignedAccount";
14537
14554
  /** @enum {string} */
14538
14555
  severity: "error";
14539
14556
  context: Record<string, never>;
14540
- }[];
14557
+ } | {
14558
+ /** @enum {string} */
14559
+ code: "locked";
14560
+ /** @enum {string} */
14561
+ severity: "warning";
14562
+ context: {
14563
+ reasons: ("statement" | "period")[];
14564
+ statementIds?: string[];
14565
+ booksClosedAt?: string;
14566
+ };
14567
+ })[];
14541
14568
  currency: string;
14542
14569
  /** @description Value in cents (100 = 1€) */
14543
14570
  amount: number;
@@ -15692,13 +15719,23 @@ export interface operations {
15692
15719
  bankAccountRef?: string | null;
15693
15720
  } | null;
15694
15721
  id: string;
15695
- issues: {
15722
+ issues: ({
15696
15723
  /** @enum {string} */
15697
15724
  code: "line_unassignedAccount";
15698
15725
  /** @enum {string} */
15699
15726
  severity: "error";
15700
15727
  context: Record<string, never>;
15701
- }[];
15728
+ } | {
15729
+ /** @enum {string} */
15730
+ code: "locked";
15731
+ /** @enum {string} */
15732
+ severity: "warning";
15733
+ context: {
15734
+ reasons: ("statement" | "period")[];
15735
+ statementIds?: string[];
15736
+ booksClosedAt?: string;
15737
+ };
15738
+ })[];
15702
15739
  currency: string;
15703
15740
  /** @description Value in cents (100 = 1€) */
15704
15741
  amount: number;
@@ -15962,13 +15999,23 @@ export interface operations {
15962
15999
  bankAccountRef?: string | null;
15963
16000
  } | null;
15964
16001
  id: string;
15965
- issues: {
16002
+ issues: ({
15966
16003
  /** @enum {string} */
15967
16004
  code: "line_unassignedAccount";
15968
16005
  /** @enum {string} */
15969
16006
  severity: "error";
15970
16007
  context: Record<string, never>;
15971
- }[];
16008
+ } | {
16009
+ /** @enum {string} */
16010
+ code: "locked";
16011
+ /** @enum {string} */
16012
+ severity: "warning";
16013
+ context: {
16014
+ reasons: ("statement" | "period")[];
16015
+ statementIds?: string[];
16016
+ booksClosedAt?: string;
16017
+ };
16018
+ })[];
15972
16019
  currency: string;
15973
16020
  /** @description Value in cents (100 = 1€) */
15974
16021
  amount: number;
@@ -16242,13 +16289,23 @@ export interface operations {
16242
16289
  bankAccountRef?: string | null;
16243
16290
  } | null;
16244
16291
  id: string;
16245
- issues: {
16292
+ issues: ({
16246
16293
  /** @enum {string} */
16247
16294
  code: "line_unassignedAccount";
16248
16295
  /** @enum {string} */
16249
16296
  severity: "error";
16250
16297
  context: Record<string, never>;
16251
- }[];
16298
+ } | {
16299
+ /** @enum {string} */
16300
+ code: "locked";
16301
+ /** @enum {string} */
16302
+ severity: "warning";
16303
+ context: {
16304
+ reasons: ("statement" | "period")[];
16305
+ statementIds?: string[];
16306
+ booksClosedAt?: string;
16307
+ };
16308
+ })[];
16252
16309
  currency: string;
16253
16310
  /** @description Value in cents (100 = 1€) */
16254
16311
  amount: number;
@@ -16518,13 +16575,23 @@ export interface operations {
16518
16575
  bankAccountRef?: string | null;
16519
16576
  } | null;
16520
16577
  id: string;
16521
- issues: {
16578
+ issues: ({
16522
16579
  /** @enum {string} */
16523
16580
  code: "line_unassignedAccount";
16524
16581
  /** @enum {string} */
16525
16582
  severity: "error";
16526
16583
  context: Record<string, never>;
16527
- }[];
16584
+ } | {
16585
+ /** @enum {string} */
16586
+ code: "locked";
16587
+ /** @enum {string} */
16588
+ severity: "warning";
16589
+ context: {
16590
+ reasons: ("statement" | "period")[];
16591
+ statementIds?: string[];
16592
+ booksClosedAt?: string;
16593
+ };
16594
+ })[];
16528
16595
  currency: string;
16529
16596
  /** @description Value in cents (100 = 1€) */
16530
16597
  amount: number;
@@ -16714,13 +16781,23 @@ export interface operations {
16714
16781
  bankAccountRef?: string | null;
16715
16782
  } | null;
16716
16783
  id: string;
16717
- issues: {
16784
+ issues: ({
16718
16785
  /** @enum {string} */
16719
16786
  code: "line_unassignedAccount";
16720
16787
  /** @enum {string} */
16721
16788
  severity: "error";
16722
16789
  context: Record<string, never>;
16723
- }[];
16790
+ } | {
16791
+ /** @enum {string} */
16792
+ code: "locked";
16793
+ /** @enum {string} */
16794
+ severity: "warning";
16795
+ context: {
16796
+ reasons: ("statement" | "period")[];
16797
+ statementIds?: string[];
16798
+ booksClosedAt?: string;
16799
+ };
16800
+ })[];
16724
16801
  currency: string;
16725
16802
  /** @description Value in cents (100 = 1€) */
16726
16803
  amount: number;
@@ -16983,13 +17060,23 @@ export interface operations {
16983
17060
  bankAccountRef?: string | null;
16984
17061
  } | null;
16985
17062
  id: string;
16986
- issues: {
17063
+ issues: ({
16987
17064
  /** @enum {string} */
16988
17065
  code: "line_unassignedAccount";
16989
17066
  /** @enum {string} */
16990
17067
  severity: "error";
16991
17068
  context: Record<string, never>;
16992
- }[];
17069
+ } | {
17070
+ /** @enum {string} */
17071
+ code: "locked";
17072
+ /** @enum {string} */
17073
+ severity: "warning";
17074
+ context: {
17075
+ reasons: ("statement" | "period")[];
17076
+ statementIds?: string[];
17077
+ booksClosedAt?: string;
17078
+ };
17079
+ })[];
16993
17080
  currency: string;
16994
17081
  /** @description Value in cents (100 = 1€) */
16995
17082
  amount: number;
@@ -17922,13 +18009,23 @@ export interface operations {
17922
18009
  bankAccountRef?: string | null;
17923
18010
  } | null;
17924
18011
  id: string;
17925
- issues: {
18012
+ issues: ({
17926
18013
  /** @enum {string} */
17927
18014
  code: "line_unassignedAccount";
17928
18015
  /** @enum {string} */
17929
18016
  severity: "error";
17930
18017
  context: Record<string, never>;
17931
- }[];
18018
+ } | {
18019
+ /** @enum {string} */
18020
+ code: "locked";
18021
+ /** @enum {string} */
18022
+ severity: "warning";
18023
+ context: {
18024
+ reasons: ("statement" | "period")[];
18025
+ statementIds?: string[];
18026
+ booksClosedAt?: string;
18027
+ };
18028
+ })[];
17932
18029
  currency: string;
17933
18030
  /** @description Value in cents (100 = 1€) */
17934
18031
  amount: number;
@@ -21681,9 +21778,9 @@ export interface operations {
21681
21778
  offset?: number;
21682
21779
  dispatchId?: string;
21683
21780
  entityId?: string;
21684
- entityType?: "reservation" | "recurringTransactionTemplate" | "tenant" | "transaction";
21781
+ entityType?: "listingOwnershipPeriod" | "reservation" | "recurringTransactionTemplate" | "tenant" | "transaction";
21685
21782
  status?: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
21686
- effectType?: "CREATE_RECURRING_TRANSACTION_INSTANCE" | "REFRESH_RESERVATION_JOURNAL" | "REFRESH_TRANSACTION_JOURNAL" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
21783
+ effectType?: "CREATE_RECURRING_TRANSACTION_INSTANCE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "REFRESH_RESERVATION_JOURNAL" | "REFRESH_TRANSACTION_JOURNAL" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
21687
21784
  page?: number;
21688
21785
  };
21689
21786
  header?: {
@@ -21711,7 +21808,7 @@ export interface operations {
21711
21808
  apiEndpoint: string | null;
21712
21809
  };
21713
21810
  /** @enum {string} */
21714
- effectType: "CREATE_RECURRING_TRANSACTION_INSTANCE" | "REFRESH_RESERVATION_JOURNAL" | "REFRESH_TRANSACTION_JOURNAL" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
21811
+ effectType: "CREATE_RECURRING_TRANSACTION_INSTANCE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "REFRESH_RESERVATION_JOURNAL" | "REFRESH_TRANSACTION_JOURNAL" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
21715
21812
  payload?: unknown;
21716
21813
  entity: ({
21717
21814
  /** @enum {string} */
@@ -21987,7 +22084,7 @@ export interface operations {
21987
22084
  endDate?: string;
21988
22085
  actionType?: string;
21989
22086
  entityId?: string;
21990
- entityType?: "reservation" | "recurringTransactionTemplate" | "tenant" | "transaction";
22087
+ entityType?: "listingOwnershipPeriod" | "reservation" | "recurringTransactionTemplate" | "tenant" | "transaction";
21991
22088
  includeIfNoEffects?: boolean;
21992
22089
  page?: number;
21993
22090
  };