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