@vrplatform/api 1.3.0-stage.1190 → 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"];
@@ -4154,6 +4137,7 @@ export interface operations {
4154
4137
  data: {
4155
4138
  [key: string]: unknown;
4156
4139
  };
4140
+ lastWebhookAt?: string | null;
4157
4141
  } | null;
4158
4142
  lines?: {
4159
4143
  id?: string | null;
@@ -4292,6 +4276,16 @@ export interface operations {
4292
4276
  difference: number;
4293
4277
  };
4294
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
+ };
4295
4289
  })[];
4296
4290
  connection?: {
4297
4291
  /** Format: uuid */
@@ -4680,6 +4674,16 @@ export interface operations {
4680
4674
  difference: number;
4681
4675
  };
4682
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
+ };
4683
4687
  })[];
4684
4688
  connection?: {
4685
4689
  /** Format: uuid */
@@ -4945,6 +4949,7 @@ export interface operations {
4945
4949
  data: {
4946
4950
  [key: string]: unknown;
4947
4951
  };
4952
+ lastWebhookAt?: string | null;
4948
4953
  } | null;
4949
4954
  lines?: {
4950
4955
  /** Format: uuid */
@@ -5156,6 +5161,16 @@ export interface operations {
5156
5161
  difference: number;
5157
5162
  };
5158
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
+ };
5159
5174
  })[];
5160
5175
  connection?: {
5161
5176
  /** Format: uuid */
@@ -5567,6 +5582,16 @@ export interface operations {
5567
5582
  difference: number;
5568
5583
  };
5569
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
+ };
5570
5595
  })[];
5571
5596
  connection?: {
5572
5597
  /** Format: uuid */
@@ -5729,6 +5754,7 @@ export interface operations {
5729
5754
  data: {
5730
5755
  [key: string]: unknown;
5731
5756
  };
5757
+ lastWebhookAt?: string | null;
5732
5758
  } | null;
5733
5759
  lines: {
5734
5760
  id?: string | null;
@@ -5860,6 +5886,16 @@ export interface operations {
5860
5886
  difference: number;
5861
5887
  };
5862
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
+ };
5863
5899
  })[];
5864
5900
  connection?: {
5865
5901
  /** Format: uuid */
@@ -6074,6 +6110,8 @@ export interface operations {
6074
6110
  parameters: {
6075
6111
  query?: {
6076
6112
  listingId?: string;
6113
+ limit?: number;
6114
+ page?: number;
6077
6115
  };
6078
6116
  header?: {
6079
6117
  "X-Team-Id"?: string;
@@ -6093,7 +6131,7 @@ export interface operations {
6093
6131
  data: {
6094
6132
  /** Format: uuid */
6095
6133
  listingId: string;
6096
- /** @default 2025-12-02 */
6134
+ /** @default 2025-12-03 */
6097
6135
  startAt: string;
6098
6136
  endAt?: string | null;
6099
6137
  setListingInactive?: boolean | null;
@@ -6111,6 +6149,15 @@ export interface operations {
6111
6149
  /** Format: uuid */
6112
6150
  id: string;
6113
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
+ };
6114
6161
  };
6115
6162
  };
6116
6163
  };
@@ -6175,7 +6222,7 @@ export interface operations {
6175
6222
  "application/json": {
6176
6223
  /** Format: uuid */
6177
6224
  listingId: string;
6178
- /** @default 2025-12-02 */
6225
+ /** @default 2025-12-03 */
6179
6226
  startAt?: string;
6180
6227
  endAt?: string | null;
6181
6228
  members: {
@@ -6209,7 +6256,7 @@ export interface operations {
6209
6256
  "application/json": {
6210
6257
  /** Format: uuid */
6211
6258
  listingId: string;
6212
- /** @default 2025-12-02 */
6259
+ /** @default 2025-12-03 */
6213
6260
  startAt: string;
6214
6261
  endAt?: string | null;
6215
6262
  setListingInactive?: boolean | null;
@@ -6289,7 +6336,7 @@ export interface operations {
6289
6336
  "application/json": {
6290
6337
  /** Format: uuid */
6291
6338
  listingId: string;
6292
- /** @default 2025-12-02 */
6339
+ /** @default 2025-12-03 */
6293
6340
  startAt: string;
6294
6341
  endAt?: string | null;
6295
6342
  setListingInactive?: boolean | null;
@@ -6372,7 +6419,7 @@ export interface operations {
6372
6419
  "application/json": {
6373
6420
  /** Format: uuid */
6374
6421
  listingId?: string;
6375
- /** @default 2025-12-02 */
6422
+ /** @default 2025-12-03 */
6376
6423
  startAt?: string;
6377
6424
  endAt?: string | null;
6378
6425
  members?: {
@@ -6406,7 +6453,7 @@ export interface operations {
6406
6453
  "application/json": {
6407
6454
  /** Format: uuid */
6408
6455
  listingId: string;
6409
- /** @default 2025-12-02 */
6456
+ /** @default 2025-12-03 */
6410
6457
  startAt: string;
6411
6458
  endAt?: string | null;
6412
6459
  setListingInactive?: boolean | null;
@@ -6602,7 +6649,7 @@ export interface operations {
6602
6649
  /** Format: uuid */
6603
6650
  sourceId?: string | null;
6604
6651
  initialOwnership?: {
6605
- /** @default 2025-12-02 */
6652
+ /** @default 2025-12-03 */
6606
6653
  startAt?: string;
6607
6654
  endAt?: string | null;
6608
6655
  members: {
@@ -6660,7 +6707,7 @@ export interface operations {
6660
6707
  status: "active" | "inactive";
6661
6708
  defaultCurrency?: string | null;
6662
6709
  activeOwnership?: {
6663
- /** @default 2025-12-02 */
6710
+ /** @default 2025-12-03 */
6664
6711
  startAt: string;
6665
6712
  endAt?: string | null;
6666
6713
  setListingInactive?: boolean | null;
@@ -6761,115 +6808,6 @@ export interface operations {
6761
6808
  };
6762
6809
  };
6763
6810
  };
6764
- getListingConnections: {
6765
- parameters: {
6766
- query?: {
6767
- connectionId?: string;
6768
- limit?: number;
6769
- page?: number;
6770
- };
6771
- header?: {
6772
- "X-Team-Id"?: string;
6773
- };
6774
- path?: never;
6775
- cookie?: never;
6776
- };
6777
- requestBody?: never;
6778
- responses: {
6779
- /** @description Successful response */
6780
- 200: {
6781
- headers: {
6782
- [name: string]: unknown;
6783
- };
6784
- content: {
6785
- "application/json": {
6786
- data: {
6787
- /** Format: uuid */
6788
- id: string;
6789
- uniqueRef?: string | null;
6790
- connection?: {
6791
- /** Format: uuid */
6792
- id: string;
6793
- name?: string | null;
6794
- uniqueRef?: string | null;
6795
- appId?: string | null;
6796
- } | null;
6797
- name?: string | null;
6798
- source?: {
6799
- /** Format: uuid */
6800
- id: string;
6801
- type: string;
6802
- /** @enum {string|null} */
6803
- status?: "active" | "inactive" | null;
6804
- } | null;
6805
- listing?: {
6806
- /** Format: uuid */
6807
- id: string;
6808
- name?: string | null;
6809
- uniqueRef?: string | null;
6810
- /** Format: uuid */
6811
- connectionId?: string | null;
6812
- } | null;
6813
- }[];
6814
- pagination: {
6815
- /** @default 100 */
6816
- limit: number;
6817
- /** @default 1 */
6818
- page: number;
6819
- total: number;
6820
- totalPage: number;
6821
- nextPage?: number;
6822
- };
6823
- };
6824
- };
6825
- };
6826
- /** @description Invalid input data */
6827
- 400: {
6828
- headers: {
6829
- [name: string]: unknown;
6830
- };
6831
- content: {
6832
- "application/json": components["schemas"]["error.BAD_REQUEST"];
6833
- };
6834
- };
6835
- /** @description Authorization not provided */
6836
- 401: {
6837
- headers: {
6838
- [name: string]: unknown;
6839
- };
6840
- content: {
6841
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
6842
- };
6843
- };
6844
- /** @description Insufficient access */
6845
- 403: {
6846
- headers: {
6847
- [name: string]: unknown;
6848
- };
6849
- content: {
6850
- "application/json": components["schemas"]["error.FORBIDDEN"];
6851
- };
6852
- };
6853
- /** @description Not found */
6854
- 404: {
6855
- headers: {
6856
- [name: string]: unknown;
6857
- };
6858
- content: {
6859
- "application/json": components["schemas"]["error.NOT_FOUND"];
6860
- };
6861
- };
6862
- /** @description Internal server error */
6863
- 500: {
6864
- headers: {
6865
- [name: string]: unknown;
6866
- };
6867
- content: {
6868
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
6869
- };
6870
- };
6871
- };
6872
- };
6873
6811
  getListing: {
6874
6812
  parameters: {
6875
6813
  query?: never;
@@ -6911,31 +6849,37 @@ export interface operations {
6911
6849
  status: "active" | "inactive";
6912
6850
  defaultCurrency?: string | null;
6913
6851
  activeOwnership?: {
6914
- /** @default 2025-12-02 */
6852
+ /** Format: uuid */
6853
+ id: string;
6915
6854
  startAt: string;
6916
6855
  endAt?: string | null;
6917
- setListingInactive?: boolean | null;
6918
- /**
6919
- * @default managed
6920
- * @enum {string|null}
6921
- */
6922
- businessModel: "managed" | "co_host" | "co_host_airbnb" | null;
6923
6856
  members: {
6924
6857
  /** Format: uuid */
6925
6858
  contactId?: string | null;
6926
6859
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
6927
6860
  split?: number | null;
6928
6861
  }[];
6929
- /** Format: uuid */
6930
- 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
+ }[];
6931
6875
  } | null;
6932
6876
  activeRecurringFeePeriods?: {
6877
+ /** Format: uuid */
6878
+ id: string;
6933
6879
  startAt?: string | null;
6934
6880
  endAt?: string | null;
6935
6881
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
6936
6882
  rate?: number | null;
6937
- /** Format: uuid */
6938
- id: string;
6939
6883
  recurringFee: {
6940
6884
  /** Format: uuid */
6941
6885
  id: string;
@@ -7070,7 +7014,7 @@ export interface operations {
7070
7014
  /** Format: uuid */
7071
7015
  sourceId?: string | null;
7072
7016
  initialOwnership?: {
7073
- /** @default 2025-12-02 */
7017
+ /** @default 2025-12-03 */
7074
7018
  startAt?: string;
7075
7019
  endAt?: string | null;
7076
7020
  members: {
@@ -7124,31 +7068,37 @@ export interface operations {
7124
7068
  status: "active" | "inactive";
7125
7069
  defaultCurrency?: string | null;
7126
7070
  activeOwnership?: {
7127
- /** @default 2025-12-02 */
7071
+ /** Format: uuid */
7072
+ id: string;
7128
7073
  startAt: string;
7129
7074
  endAt?: string | null;
7130
- setListingInactive?: boolean | null;
7131
- /**
7132
- * @default managed
7133
- * @enum {string|null}
7134
- */
7135
- businessModel: "managed" | "co_host" | "co_host_airbnb" | null;
7136
7075
  members: {
7137
7076
  /** Format: uuid */
7138
7077
  contactId?: string | null;
7139
7078
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
7140
7079
  split?: number | null;
7141
7080
  }[];
7142
- /** Format: uuid */
7143
- 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
+ }[];
7144
7094
  } | null;
7145
7095
  activeRecurringFeePeriods?: {
7096
+ /** Format: uuid */
7097
+ id: string;
7146
7098
  startAt?: string | null;
7147
7099
  endAt?: string | null;
7148
7100
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
7149
7101
  rate?: number | null;
7150
- /** Format: uuid */
7151
- id: string;
7152
7102
  recurringFee: {
7153
7103
  /** Format: uuid */
7154
7104
  id: string;
@@ -7351,31 +7301,37 @@ export interface operations {
7351
7301
  status: "active" | "inactive";
7352
7302
  defaultCurrency?: string | null;
7353
7303
  activeOwnership?: {
7354
- /** @default 2025-12-02 */
7304
+ /** Format: uuid */
7305
+ id: string;
7355
7306
  startAt: string;
7356
7307
  endAt?: string | null;
7357
- setListingInactive?: boolean | null;
7358
- /**
7359
- * @default managed
7360
- * @enum {string|null}
7361
- */
7362
- businessModel: "managed" | "co_host" | "co_host_airbnb" | null;
7363
7308
  members: {
7364
7309
  /** Format: uuid */
7365
7310
  contactId?: string | null;
7366
7311
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
7367
7312
  split?: number | null;
7368
7313
  }[];
7369
- /** Format: uuid */
7370
- 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
+ }[];
7371
7327
  } | null;
7372
7328
  activeRecurringFeePeriods?: {
7329
+ /** Format: uuid */
7330
+ id: string;
7373
7331
  startAt?: string | null;
7374
7332
  endAt?: string | null;
7375
7333
  /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
7376
7334
  rate?: number | null;
7377
- /** Format: uuid */
7378
- id: string;
7379
7335
  recurringFee: {
7380
7336
  /** Format: uuid */
7381
7337
  id: string;
@@ -7518,7 +7474,7 @@ export interface operations {
7518
7474
  /** Format: uuid */
7519
7475
  sourceId?: string | null;
7520
7476
  initialOwnership?: {
7521
- /** @default 2025-12-02 */
7477
+ /** @default 2025-12-03 */
7522
7478
  startAt?: string;
7523
7479
  endAt?: string | null;
7524
7480
  members: {
@@ -7572,7 +7528,7 @@ export interface operations {
7572
7528
  status: "active" | "inactive";
7573
7529
  defaultCurrency?: string | null;
7574
7530
  activeOwnership?: {
7575
- /** @default 2025-12-02 */
7531
+ /** @default 2025-12-03 */
7576
7532
  startAt: string;
7577
7533
  endAt?: string | null;
7578
7534
  setListingInactive?: boolean | null;
@@ -9966,6 +9922,17 @@ export interface operations {
9966
9922
  statusFilter?: "canceled" | "booked" | null;
9967
9923
  id: string;
9968
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
+ }[];
9969
9936
  creditAccount: {
9970
9937
  id: string;
9971
9938
  name: string;
@@ -10131,6 +10098,17 @@ export interface operations {
10131
10098
  statusFilter?: "canceled" | "booked" | null;
10132
10099
  id: string;
10133
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
+ }[];
10134
10112
  creditAccount: {
10135
10113
  id: string;
10136
10114
  name: string;
@@ -10331,6 +10309,17 @@ export interface operations {
10331
10309
  statusFilter?: "canceled" | "booked" | null;
10332
10310
  id: string;
10333
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
+ }[];
10334
10323
  creditAccount: {
10335
10324
  id: string;
10336
10325
  name: string;
@@ -10504,6 +10493,17 @@ export interface operations {
10504
10493
  statusFilter?: "canceled" | "booked" | null;
10505
10494
  id: string;
10506
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
+ }[];
10507
10507
  creditAccount: {
10508
10508
  id: string;
10509
10509
  name: string;
@@ -11541,13 +11541,23 @@ export interface operations {
11541
11541
  bankAccountRef?: string | null;
11542
11542
  } | null;
11543
11543
  id: string;
11544
- issues: {
11544
+ issues: ({
11545
11545
  /** @enum {string} */
11546
11546
  code: "line_unassignedAccount";
11547
11547
  /** @enum {string} */
11548
11548
  severity: "error";
11549
11549
  context: Record<string, never>;
11550
- }[];
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
+ })[];
11551
11561
  currency: string;
11552
11562
  /** @description Value in cents (100 = 1€) */
11553
11563
  amount: number;
@@ -14081,13 +14091,23 @@ export interface operations {
14081
14091
  bankAccountRef?: string | null;
14082
14092
  } | null;
14083
14093
  id: string;
14084
- issues: {
14094
+ issues: ({
14085
14095
  /** @enum {string} */
14086
14096
  code: "line_unassignedAccount";
14087
14097
  /** @enum {string} */
14088
14098
  severity: "error";
14089
14099
  context: Record<string, never>;
14090
- }[];
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
+ })[];
14091
14111
  currency: string;
14092
14112
  /** @description Value in cents (100 = 1€) */
14093
14113
  amount: number;
@@ -14528,13 +14548,23 @@ export interface operations {
14528
14548
  bankAccountRef?: string | null;
14529
14549
  } | null;
14530
14550
  id: string;
14531
- issues: {
14551
+ issues: ({
14532
14552
  /** @enum {string} */
14533
14553
  code: "line_unassignedAccount";
14534
14554
  /** @enum {string} */
14535
14555
  severity: "error";
14536
14556
  context: Record<string, never>;
14537
- }[];
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
+ })[];
14538
14568
  currency: string;
14539
14569
  /** @description Value in cents (100 = 1€) */
14540
14570
  amount: number;
@@ -15689,13 +15719,23 @@ export interface operations {
15689
15719
  bankAccountRef?: string | null;
15690
15720
  } | null;
15691
15721
  id: string;
15692
- issues: {
15722
+ issues: ({
15693
15723
  /** @enum {string} */
15694
15724
  code: "line_unassignedAccount";
15695
15725
  /** @enum {string} */
15696
15726
  severity: "error";
15697
15727
  context: Record<string, never>;
15698
- }[];
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
+ })[];
15699
15739
  currency: string;
15700
15740
  /** @description Value in cents (100 = 1€) */
15701
15741
  amount: number;
@@ -15959,13 +15999,23 @@ export interface operations {
15959
15999
  bankAccountRef?: string | null;
15960
16000
  } | null;
15961
16001
  id: string;
15962
- issues: {
16002
+ issues: ({
15963
16003
  /** @enum {string} */
15964
16004
  code: "line_unassignedAccount";
15965
16005
  /** @enum {string} */
15966
16006
  severity: "error";
15967
16007
  context: Record<string, never>;
15968
- }[];
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
+ })[];
15969
16019
  currency: string;
15970
16020
  /** @description Value in cents (100 = 1€) */
15971
16021
  amount: number;
@@ -16239,13 +16289,23 @@ export interface operations {
16239
16289
  bankAccountRef?: string | null;
16240
16290
  } | null;
16241
16291
  id: string;
16242
- issues: {
16292
+ issues: ({
16243
16293
  /** @enum {string} */
16244
16294
  code: "line_unassignedAccount";
16245
16295
  /** @enum {string} */
16246
16296
  severity: "error";
16247
16297
  context: Record<string, never>;
16248
- }[];
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
+ })[];
16249
16309
  currency: string;
16250
16310
  /** @description Value in cents (100 = 1€) */
16251
16311
  amount: number;
@@ -16515,13 +16575,23 @@ export interface operations {
16515
16575
  bankAccountRef?: string | null;
16516
16576
  } | null;
16517
16577
  id: string;
16518
- issues: {
16578
+ issues: ({
16519
16579
  /** @enum {string} */
16520
16580
  code: "line_unassignedAccount";
16521
16581
  /** @enum {string} */
16522
16582
  severity: "error";
16523
16583
  context: Record<string, never>;
16524
- }[];
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
+ })[];
16525
16595
  currency: string;
16526
16596
  /** @description Value in cents (100 = 1€) */
16527
16597
  amount: number;
@@ -16711,13 +16781,23 @@ export interface operations {
16711
16781
  bankAccountRef?: string | null;
16712
16782
  } | null;
16713
16783
  id: string;
16714
- issues: {
16784
+ issues: ({
16715
16785
  /** @enum {string} */
16716
16786
  code: "line_unassignedAccount";
16717
16787
  /** @enum {string} */
16718
16788
  severity: "error";
16719
16789
  context: Record<string, never>;
16720
- }[];
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
+ })[];
16721
16801
  currency: string;
16722
16802
  /** @description Value in cents (100 = 1€) */
16723
16803
  amount: number;
@@ -16980,13 +17060,23 @@ export interface operations {
16980
17060
  bankAccountRef?: string | null;
16981
17061
  } | null;
16982
17062
  id: string;
16983
- issues: {
17063
+ issues: ({
16984
17064
  /** @enum {string} */
16985
17065
  code: "line_unassignedAccount";
16986
17066
  /** @enum {string} */
16987
17067
  severity: "error";
16988
17068
  context: Record<string, never>;
16989
- }[];
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
+ })[];
16990
17080
  currency: string;
16991
17081
  /** @description Value in cents (100 = 1€) */
16992
17082
  amount: number;
@@ -17919,13 +18009,23 @@ export interface operations {
17919
18009
  bankAccountRef?: string | null;
17920
18010
  } | null;
17921
18011
  id: string;
17922
- issues: {
18012
+ issues: ({
17923
18013
  /** @enum {string} */
17924
18014
  code: "line_unassignedAccount";
17925
18015
  /** @enum {string} */
17926
18016
  severity: "error";
17927
18017
  context: Record<string, never>;
17928
- }[];
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
+ })[];
17929
18029
  currency: string;
17930
18030
  /** @description Value in cents (100 = 1€) */
17931
18031
  amount: number;
@@ -21461,6 +21561,7 @@ export interface operations {
21461
21561
  type: string;
21462
21562
  uniqueRef: string;
21463
21563
  date?: string | null;
21564
+ lastWebhookAt?: string | null;
21464
21565
  data?: {
21465
21566
  [key: string]: unknown;
21466
21567
  } | null;
@@ -21505,6 +21606,7 @@ export interface operations {
21505
21606
  type: string;
21506
21607
  uniqueRef: string;
21507
21608
  date?: string | null;
21609
+ lastWebhookAt?: string | null;
21508
21610
  data?: {
21509
21611
  [key: string]: unknown;
21510
21612
  } | null;
@@ -21676,9 +21778,9 @@ export interface operations {
21676
21778
  offset?: number;
21677
21779
  dispatchId?: string;
21678
21780
  entityId?: string;
21679
- entityType?: "reservation" | "recurringTransactionTemplate" | "tenant" | "transaction";
21781
+ entityType?: "listingOwnershipPeriod" | "reservation" | "recurringTransactionTemplate" | "tenant" | "transaction";
21680
21782
  status?: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
21681
- 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";
21682
21784
  page?: number;
21683
21785
  };
21684
21786
  header?: {
@@ -21706,7 +21808,7 @@ export interface operations {
21706
21808
  apiEndpoint: string | null;
21707
21809
  };
21708
21810
  /** @enum {string} */
21709
- 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";
21710
21812
  payload?: unknown;
21711
21813
  entity: ({
21712
21814
  /** @enum {string} */
@@ -21982,7 +22084,7 @@ export interface operations {
21982
22084
  endDate?: string;
21983
22085
  actionType?: string;
21984
22086
  entityId?: string;
21985
- entityType?: "reservation" | "recurringTransactionTemplate" | "tenant" | "transaction";
22087
+ entityType?: "listingOwnershipPeriod" | "reservation" | "recurringTransactionTemplate" | "tenant" | "transaction";
21986
22088
  includeIfNoEffects?: boolean;
21987
22089
  page?: number;
21988
22090
  };