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