@vrplatform/api 1.3.0-stage.1260 → 1.3.0-stage.1262

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.
@@ -4160,7 +4160,16 @@ export interface operations {
4160
4160
  } | null;
4161
4161
  /** Format: uuid */
4162
4162
  id: string;
4163
- hasLockedJournalEntries: boolean;
4163
+ lock?: {
4164
+ /** @enum {string} */
4165
+ status: "locked" | "unlocked";
4166
+ booksClosed?: {
4167
+ date: string;
4168
+ } | null;
4169
+ ownerStatement?: {
4170
+ ids: string[];
4171
+ } | null;
4172
+ } | null;
4164
4173
  issues: ({
4165
4174
  /** @enum {string} */
4166
4175
  code: "lineNotFound";
@@ -4224,16 +4233,6 @@ export interface operations {
4224
4233
  difference: number;
4225
4234
  };
4226
4235
  message: string;
4227
- } | {
4228
- /** @enum {string} */
4229
- code: "locked";
4230
- /** @enum {string} */
4231
- severity: "warning";
4232
- context: {
4233
- reasons: ("statement" | "period")[];
4234
- statementIds?: string[];
4235
- booksClosedAt?: string;
4236
- };
4237
4236
  })[];
4238
4237
  connection?: {
4239
4238
  /** Format: uuid */
@@ -4657,7 +4656,16 @@ export interface operations {
4657
4656
  } | null;
4658
4657
  /** Format: uuid */
4659
4658
  id: string;
4660
- hasLockedJournalEntries: boolean;
4659
+ lock?: {
4660
+ /** @enum {string} */
4661
+ status: "locked" | "unlocked";
4662
+ booksClosed?: {
4663
+ date: string;
4664
+ } | null;
4665
+ ownerStatement?: {
4666
+ ids: string[];
4667
+ } | null;
4668
+ } | null;
4661
4669
  issues: ({
4662
4670
  /** @enum {string} */
4663
4671
  code: "lineNotFound";
@@ -4721,16 +4729,6 @@ export interface operations {
4721
4729
  difference: number;
4722
4730
  };
4723
4731
  message: string;
4724
- } | {
4725
- /** @enum {string} */
4726
- code: "locked";
4727
- /** @enum {string} */
4728
- severity: "warning";
4729
- context: {
4730
- reasons: ("statement" | "period")[];
4731
- statementIds?: string[];
4732
- booksClosedAt?: string;
4733
- };
4734
4732
  })[];
4735
4733
  connection?: {
4736
4734
  /** Format: uuid */
@@ -5089,6 +5087,16 @@ export interface operations {
5089
5087
  } | null;
5090
5088
  /** Format: uuid */
5091
5089
  id: string;
5090
+ lock?: {
5091
+ /** @enum {string} */
5092
+ status: "locked" | "unlocked";
5093
+ booksClosed?: {
5094
+ date: string;
5095
+ } | null;
5096
+ ownerStatement?: {
5097
+ ids: string[];
5098
+ } | null;
5099
+ } | null;
5092
5100
  issues: ({
5093
5101
  /** @enum {string} */
5094
5102
  code: "lineNotFound";
@@ -5152,16 +5160,6 @@ export interface operations {
5152
5160
  difference: number;
5153
5161
  };
5154
5162
  message: string;
5155
- } | {
5156
- /** @enum {string} */
5157
- code: "locked";
5158
- /** @enum {string} */
5159
- severity: "warning";
5160
- context: {
5161
- reasons: ("statement" | "period")[];
5162
- statementIds?: string[];
5163
- booksClosedAt?: string;
5164
- };
5165
5163
  })[];
5166
5164
  connection?: {
5167
5165
  /** Format: uuid */
@@ -5392,7 +5390,16 @@ export interface operations {
5392
5390
  } | null;
5393
5391
  /** Format: uuid */
5394
5392
  id: string;
5395
- hasLockedJournalEntries: boolean;
5393
+ lock?: {
5394
+ /** @enum {string} */
5395
+ status: "locked" | "unlocked";
5396
+ booksClosed?: {
5397
+ date: string;
5398
+ } | null;
5399
+ ownerStatement?: {
5400
+ ids: string[];
5401
+ } | null;
5402
+ } | null;
5396
5403
  issues: ({
5397
5404
  /** @enum {string} */
5398
5405
  code: "lineNotFound";
@@ -5456,16 +5463,6 @@ export interface operations {
5456
5463
  difference: number;
5457
5464
  };
5458
5465
  message: string;
5459
- } | {
5460
- /** @enum {string} */
5461
- code: "locked";
5462
- /** @enum {string} */
5463
- severity: "warning";
5464
- context: {
5465
- reasons: ("statement" | "period")[];
5466
- statementIds?: string[];
5467
- booksClosedAt?: string;
5468
- };
5469
5466
  })[];
5470
5467
  connection?: {
5471
5468
  /** Format: uuid */
@@ -5711,7 +5708,7 @@ export interface operations {
5711
5708
  data: {
5712
5709
  /** Format: uuid */
5713
5710
  listingId: string;
5714
- /** @default 2025-12-09 */
5711
+ /** @default 2025-12-10 */
5715
5712
  startAt: string;
5716
5713
  endAt?: string | null;
5717
5714
  setListingInactive?: boolean | null;
@@ -5802,7 +5799,7 @@ export interface operations {
5802
5799
  "application/json": {
5803
5800
  /** Format: uuid */
5804
5801
  listingId: string;
5805
- /** @default 2025-12-09 */
5802
+ /** @default 2025-12-10 */
5806
5803
  startAt?: string;
5807
5804
  endAt?: string | null;
5808
5805
  members: {
@@ -5836,7 +5833,7 @@ export interface operations {
5836
5833
  "application/json": {
5837
5834
  /** Format: uuid */
5838
5835
  listingId: string;
5839
- /** @default 2025-12-09 */
5836
+ /** @default 2025-12-10 */
5840
5837
  startAt: string;
5841
5838
  endAt?: string | null;
5842
5839
  setListingInactive?: boolean | null;
@@ -5916,7 +5913,7 @@ export interface operations {
5916
5913
  "application/json": {
5917
5914
  /** Format: uuid */
5918
5915
  listingId: string;
5919
- /** @default 2025-12-09 */
5916
+ /** @default 2025-12-10 */
5920
5917
  startAt: string;
5921
5918
  endAt?: string | null;
5922
5919
  setListingInactive?: boolean | null;
@@ -5999,7 +5996,7 @@ export interface operations {
5999
5996
  "application/json": {
6000
5997
  /** Format: uuid */
6001
5998
  listingId?: string;
6002
- /** @default 2025-12-09 */
5999
+ /** @default 2025-12-10 */
6003
6000
  startAt?: string;
6004
6001
  endAt?: string | null;
6005
6002
  members?: {
@@ -6033,7 +6030,7 @@ export interface operations {
6033
6030
  "application/json": {
6034
6031
  /** Format: uuid */
6035
6032
  listingId: string;
6036
- /** @default 2025-12-09 */
6033
+ /** @default 2025-12-10 */
6037
6034
  startAt: string;
6038
6035
  endAt?: string | null;
6039
6036
  setListingInactive?: boolean | null;
@@ -6231,7 +6228,7 @@ export interface operations {
6231
6228
  /** Format: uuid */
6232
6229
  sourceId?: string | null;
6233
6230
  initialOwnership?: {
6234
- /** @default 2025-12-09 */
6231
+ /** @default 2025-12-10 */
6235
6232
  startAt?: string;
6236
6233
  endAt?: string | null;
6237
6234
  members: {
@@ -6374,16 +6371,16 @@ export interface operations {
6374
6371
  setListingInactive?: boolean | null;
6375
6372
  /** @enum {string} */
6376
6373
  businessModel: "managed" | "co_host" | "co_host_airbnb";
6377
- issues: {
6378
- /** @enum {string} */
6379
- code: "locked";
6374
+ lock?: {
6380
6375
  /** @enum {string} */
6381
- severity: "warning";
6382
- context: {
6383
- reasons: ("statement" | "period")[];
6384
- statementIds?: string[];
6385
- };
6386
- }[];
6376
+ status: "locked" | "unlocked";
6377
+ booksClosed?: {
6378
+ date: string;
6379
+ } | null;
6380
+ ownerStatement?: {
6381
+ ids: string[];
6382
+ } | null;
6383
+ } | null;
6387
6384
  } | null;
6388
6385
  activeRecurringFeePeriods?: {
6389
6386
  /** Format: uuid */
@@ -6528,7 +6525,7 @@ export interface operations {
6528
6525
  /** Format: uuid */
6529
6526
  sourceId?: string | null;
6530
6527
  initialOwnership?: {
6531
- /** @default 2025-12-09 */
6528
+ /** @default 2025-12-10 */
6532
6529
  startAt?: string;
6533
6530
  endAt?: string | null;
6534
6531
  members: {
@@ -6595,16 +6592,16 @@ export interface operations {
6595
6592
  setListingInactive?: boolean | null;
6596
6593
  /** @enum {string} */
6597
6594
  businessModel: "managed" | "co_host" | "co_host_airbnb";
6598
- issues: {
6599
- /** @enum {string} */
6600
- code: "locked";
6595
+ lock?: {
6601
6596
  /** @enum {string} */
6602
- severity: "warning";
6603
- context: {
6604
- reasons: ("statement" | "period")[];
6605
- statementIds?: string[];
6606
- };
6607
- }[];
6597
+ status: "locked" | "unlocked";
6598
+ booksClosed?: {
6599
+ date: string;
6600
+ } | null;
6601
+ ownerStatement?: {
6602
+ ids: string[];
6603
+ } | null;
6604
+ } | null;
6608
6605
  } | null;
6609
6606
  activeRecurringFeePeriods?: {
6610
6607
  /** Format: uuid */
@@ -6828,16 +6825,16 @@ export interface operations {
6828
6825
  setListingInactive?: boolean | null;
6829
6826
  /** @enum {string} */
6830
6827
  businessModel: "managed" | "co_host" | "co_host_airbnb";
6831
- issues: {
6832
- /** @enum {string} */
6833
- code: "locked";
6828
+ lock?: {
6834
6829
  /** @enum {string} */
6835
- severity: "warning";
6836
- context: {
6837
- reasons: ("statement" | "period")[];
6838
- statementIds?: string[];
6839
- };
6840
- }[];
6830
+ status: "locked" | "unlocked";
6831
+ booksClosed?: {
6832
+ date: string;
6833
+ } | null;
6834
+ ownerStatement?: {
6835
+ ids: string[];
6836
+ } | null;
6837
+ } | null;
6841
6838
  } | null;
6842
6839
  activeRecurringFeePeriods?: {
6843
6840
  /** Format: uuid */
@@ -6990,7 +6987,7 @@ export interface operations {
6990
6987
  /** Format: uuid */
6991
6988
  sourceId?: string | null;
6992
6989
  initialOwnership?: {
6993
- /** @default 2025-12-09 */
6990
+ /** @default 2025-12-10 */
6994
6991
  startAt?: string;
6995
6992
  endAt?: string | null;
6996
6993
  members: {
@@ -7044,7 +7041,7 @@ export interface operations {
7044
7041
  status: "active" | "inactive";
7045
7042
  defaultCurrency?: string | null;
7046
7043
  activeOwnership?: {
7047
- /** @default 2025-12-09 */
7044
+ /** @default 2025-12-10 */
7048
7045
  startAt: string;
7049
7046
  endAt?: string | null;
7050
7047
  setListingInactive?: boolean | null;
@@ -9451,17 +9448,16 @@ export interface operations {
9451
9448
  statusFilter?: "canceled" | "booked" | null;
9452
9449
  id: string;
9453
9450
  uniqueRef: string;
9454
- issues: {
9451
+ lock?: {
9455
9452
  /** @enum {string} */
9456
- code: "locked";
9457
- /** @enum {string} */
9458
- severity: "warning";
9459
- context: {
9460
- reasons: ("statement" | "period")[];
9461
- statementIds?: string[];
9462
- booksClosedAt?: string;
9463
- };
9464
- }[];
9453
+ status: "locked" | "unlocked";
9454
+ booksClosed?: {
9455
+ date: string;
9456
+ } | null;
9457
+ ownerStatement?: {
9458
+ ids: string[];
9459
+ } | null;
9460
+ } | null;
9465
9461
  creditAccount: {
9466
9462
  id: string;
9467
9463
  name: string;
@@ -9628,17 +9624,16 @@ export interface operations {
9628
9624
  statusFilter?: "canceled" | "booked" | null;
9629
9625
  id: string;
9630
9626
  uniqueRef: string;
9631
- issues: {
9627
+ lock?: {
9632
9628
  /** @enum {string} */
9633
- code: "locked";
9634
- /** @enum {string} */
9635
- severity: "warning";
9636
- context: {
9637
- reasons: ("statement" | "period")[];
9638
- statementIds?: string[];
9639
- booksClosedAt?: string;
9640
- };
9641
- }[];
9629
+ status: "locked" | "unlocked";
9630
+ booksClosed?: {
9631
+ date: string;
9632
+ } | null;
9633
+ ownerStatement?: {
9634
+ ids: string[];
9635
+ } | null;
9636
+ } | null;
9642
9637
  creditAccount: {
9643
9638
  id: string;
9644
9639
  name: string;
@@ -9845,17 +9840,16 @@ export interface operations {
9845
9840
  statusFilter?: "canceled" | "booked" | null;
9846
9841
  id: string;
9847
9842
  uniqueRef: string;
9848
- issues: {
9849
- /** @enum {string} */
9850
- code: "locked";
9843
+ lock?: {
9851
9844
  /** @enum {string} */
9852
- severity: "warning";
9853
- context: {
9854
- reasons: ("statement" | "period")[];
9855
- statementIds?: string[];
9856
- booksClosedAt?: string;
9857
- };
9858
- }[];
9845
+ status: "locked" | "unlocked";
9846
+ booksClosed?: {
9847
+ date: string;
9848
+ } | null;
9849
+ ownerStatement?: {
9850
+ ids: string[];
9851
+ } | null;
9852
+ } | null;
9859
9853
  creditAccount: {
9860
9854
  id: string;
9861
9855
  name: string;
@@ -10030,17 +10024,16 @@ export interface operations {
10030
10024
  statusFilter?: "canceled" | "booked" | null;
10031
10025
  id: string;
10032
10026
  uniqueRef: string;
10033
- issues: {
10034
- /** @enum {string} */
10035
- code: "locked";
10027
+ lock?: {
10036
10028
  /** @enum {string} */
10037
- severity: "warning";
10038
- context: {
10039
- reasons: ("statement" | "period")[];
10040
- statementIds?: string[];
10041
- booksClosedAt?: string;
10042
- };
10043
- }[];
10029
+ status: "locked" | "unlocked";
10030
+ booksClosed?: {
10031
+ date: string;
10032
+ } | null;
10033
+ ownerStatement?: {
10034
+ ids: string[];
10035
+ } | null;
10036
+ } | null;
10044
10037
  creditAccount: {
10045
10038
  id: string;
10046
10039
  name: string;
@@ -11115,23 +11108,23 @@ export interface operations {
11115
11108
  bankAccountRef?: string | null;
11116
11109
  } | null;
11117
11110
  id: string;
11118
- issues: ({
11111
+ lock?: {
11112
+ /** @enum {string} */
11113
+ status: "locked" | "unlocked";
11114
+ booksClosed?: {
11115
+ date: string;
11116
+ } | null;
11117
+ ownerStatement?: {
11118
+ ids: string[];
11119
+ } | null;
11120
+ } | null;
11121
+ issues: {
11119
11122
  /** @enum {string} */
11120
11123
  code: "line_unassignedAccount";
11121
11124
  /** @enum {string} */
11122
11125
  severity: "error";
11123
11126
  context: Record<string, never>;
11124
- } | {
11125
- /** @enum {string} */
11126
- code: "locked";
11127
- /** @enum {string} */
11128
- severity: "warning";
11129
- context: {
11130
- reasons: ("statement" | "period")[];
11131
- statementIds?: string[];
11132
- booksClosedAt?: string;
11133
- };
11134
- })[];
11127
+ }[];
11135
11128
  currency: string;
11136
11129
  /** @description Value in cents (100 = 1€) */
11137
11130
  amount: number;
@@ -11150,6 +11143,16 @@ export interface operations {
11150
11143
  /** @enum {string} */
11151
11144
  status: "unpaid" | "underpaid" | "overpaid" | "paid";
11152
11145
  date?: string | null;
11146
+ lock?: {
11147
+ /** @enum {string} */
11148
+ status: "locked" | "unlocked";
11149
+ booksClosed?: {
11150
+ date: string;
11151
+ } | null;
11152
+ ownerStatement?: {
11153
+ ids: string[];
11154
+ } | null;
11155
+ } | null;
11153
11156
  };
11154
11157
  connection?: {
11155
11158
  /** Format: uuid */
@@ -14018,23 +14021,23 @@ export interface operations {
14018
14021
  bankAccountRef?: string | null;
14019
14022
  } | null;
14020
14023
  id: string;
14021
- issues: ({
14024
+ lock?: {
14025
+ /** @enum {string} */
14026
+ status: "locked" | "unlocked";
14027
+ booksClosed?: {
14028
+ date: string;
14029
+ } | null;
14030
+ ownerStatement?: {
14031
+ ids: string[];
14032
+ } | null;
14033
+ } | null;
14034
+ issues: {
14022
14035
  /** @enum {string} */
14023
14036
  code: "line_unassignedAccount";
14024
14037
  /** @enum {string} */
14025
14038
  severity: "error";
14026
14039
  context: Record<string, never>;
14027
- } | {
14028
- /** @enum {string} */
14029
- code: "locked";
14030
- /** @enum {string} */
14031
- severity: "warning";
14032
- context: {
14033
- reasons: ("statement" | "period")[];
14034
- statementIds?: string[];
14035
- booksClosedAt?: string;
14036
- };
14037
- })[];
14040
+ }[];
14038
14041
  currency: string;
14039
14042
  /** @description Value in cents (100 = 1€) */
14040
14043
  amount: number;
@@ -14053,6 +14056,16 @@ export interface operations {
14053
14056
  /** @enum {string} */
14054
14057
  status: "unpaid" | "underpaid" | "overpaid" | "paid";
14055
14058
  date?: string | null;
14059
+ lock?: {
14060
+ /** @enum {string} */
14061
+ status: "locked" | "unlocked";
14062
+ booksClosed?: {
14063
+ date: string;
14064
+ } | null;
14065
+ ownerStatement?: {
14066
+ ids: string[];
14067
+ } | null;
14068
+ } | null;
14056
14069
  };
14057
14070
  connection?: {
14058
14071
  /** Format: uuid */
@@ -15189,23 +15202,23 @@ export interface operations {
15189
15202
  bankAccountRef?: string | null;
15190
15203
  } | null;
15191
15204
  id: string;
15192
- issues: ({
15205
+ lock?: {
15206
+ /** @enum {string} */
15207
+ status: "locked" | "unlocked";
15208
+ booksClosed?: {
15209
+ date: string;
15210
+ } | null;
15211
+ ownerStatement?: {
15212
+ ids: string[];
15213
+ } | null;
15214
+ } | null;
15215
+ issues: {
15193
15216
  /** @enum {string} */
15194
15217
  code: "line_unassignedAccount";
15195
15218
  /** @enum {string} */
15196
15219
  severity: "error";
15197
15220
  context: Record<string, never>;
15198
- } | {
15199
- /** @enum {string} */
15200
- code: "locked";
15201
- /** @enum {string} */
15202
- severity: "warning";
15203
- context: {
15204
- reasons: ("statement" | "period")[];
15205
- statementIds?: string[];
15206
- booksClosedAt?: string;
15207
- };
15208
- })[];
15221
+ }[];
15209
15222
  currency: string;
15210
15223
  /** @description Value in cents (100 = 1€) */
15211
15224
  amount: number;
@@ -15224,6 +15237,16 @@ export interface operations {
15224
15237
  /** @enum {string} */
15225
15238
  status: "unpaid" | "underpaid" | "overpaid" | "paid";
15226
15239
  date?: string | null;
15240
+ lock?: {
15241
+ /** @enum {string} */
15242
+ status: "locked" | "unlocked";
15243
+ booksClosed?: {
15244
+ date: string;
15245
+ } | null;
15246
+ ownerStatement?: {
15247
+ ids: string[];
15248
+ } | null;
15249
+ } | null;
15227
15250
  };
15228
15251
  connection?: {
15229
15252
  /** Format: uuid */
@@ -15361,6 +15384,16 @@ export interface operations {
15361
15384
  /** @enum {string} */
15362
15385
  status?: "unpaid" | "underpaid" | "overpaid" | "paid";
15363
15386
  date?: string | null;
15387
+ lock?: {
15388
+ /** @enum {string} */
15389
+ status: "locked" | "unlocked";
15390
+ booksClosed?: {
15391
+ date: string;
15392
+ } | null;
15393
+ ownerStatement?: {
15394
+ ids: string[];
15395
+ } | null;
15396
+ } | null;
15364
15397
  } | null;
15365
15398
  /** Format: uuid */
15366
15399
  sourceId?: string | null;
@@ -15619,23 +15652,23 @@ export interface operations {
15619
15652
  bankAccountRef?: string | null;
15620
15653
  } | null;
15621
15654
  id: string;
15622
- issues: ({
15655
+ lock?: {
15656
+ /** @enum {string} */
15657
+ status: "locked" | "unlocked";
15658
+ booksClosed?: {
15659
+ date: string;
15660
+ } | null;
15661
+ ownerStatement?: {
15662
+ ids: string[];
15663
+ } | null;
15664
+ } | null;
15665
+ issues: {
15623
15666
  /** @enum {string} */
15624
15667
  code: "line_unassignedAccount";
15625
15668
  /** @enum {string} */
15626
15669
  severity: "error";
15627
15670
  context: Record<string, never>;
15628
- } | {
15629
- /** @enum {string} */
15630
- code: "locked";
15631
- /** @enum {string} */
15632
- severity: "warning";
15633
- context: {
15634
- reasons: ("statement" | "period")[];
15635
- statementIds?: string[];
15636
- booksClosedAt?: string;
15637
- };
15638
- })[];
15671
+ }[];
15639
15672
  currency: string;
15640
15673
  /** @description Value in cents (100 = 1€) */
15641
15674
  amount: number;
@@ -15654,6 +15687,16 @@ export interface operations {
15654
15687
  /** @enum {string} */
15655
15688
  status: "unpaid" | "underpaid" | "overpaid" | "paid";
15656
15689
  date?: string | null;
15690
+ lock?: {
15691
+ /** @enum {string} */
15692
+ status: "locked" | "unlocked";
15693
+ booksClosed?: {
15694
+ date: string;
15695
+ } | null;
15696
+ ownerStatement?: {
15697
+ ids: string[];
15698
+ } | null;
15699
+ } | null;
15657
15700
  };
15658
15701
  connection?: {
15659
15702
  /** Format: uuid */
@@ -15798,6 +15841,16 @@ export interface operations {
15798
15841
  /** @enum {string} */
15799
15842
  status?: "unpaid" | "underpaid" | "overpaid" | "paid";
15800
15843
  date?: string | null;
15844
+ lock?: {
15845
+ /** @enum {string} */
15846
+ status: "locked" | "unlocked";
15847
+ booksClosed?: {
15848
+ date: string;
15849
+ } | null;
15850
+ ownerStatement?: {
15851
+ ids: string[];
15852
+ } | null;
15853
+ } | null;
15801
15854
  } | null;
15802
15855
  /** Format: uuid */
15803
15856
  connectionId?: string | null;
@@ -15905,23 +15958,23 @@ export interface operations {
15905
15958
  bankAccountRef?: string | null;
15906
15959
  } | null;
15907
15960
  id: string;
15908
- issues: ({
15961
+ lock?: {
15962
+ /** @enum {string} */
15963
+ status: "locked" | "unlocked";
15964
+ booksClosed?: {
15965
+ date: string;
15966
+ } | null;
15967
+ ownerStatement?: {
15968
+ ids: string[];
15969
+ } | null;
15970
+ } | null;
15971
+ issues: {
15909
15972
  /** @enum {string} */
15910
15973
  code: "line_unassignedAccount";
15911
15974
  /** @enum {string} */
15912
15975
  severity: "error";
15913
15976
  context: Record<string, never>;
15914
- } | {
15915
- /** @enum {string} */
15916
- code: "locked";
15917
- /** @enum {string} */
15918
- severity: "warning";
15919
- context: {
15920
- reasons: ("statement" | "period")[];
15921
- statementIds?: string[];
15922
- booksClosedAt?: string;
15923
- };
15924
- })[];
15977
+ }[];
15925
15978
  currency: string;
15926
15979
  /** @description Value in cents (100 = 1€) */
15927
15980
  amount: number;
@@ -15940,6 +15993,16 @@ export interface operations {
15940
15993
  /** @enum {string} */
15941
15994
  status: "unpaid" | "underpaid" | "overpaid" | "paid";
15942
15995
  date?: string | null;
15996
+ lock?: {
15997
+ /** @enum {string} */
15998
+ status: "locked" | "unlocked";
15999
+ booksClosed?: {
16000
+ date: string;
16001
+ } | null;
16002
+ ownerStatement?: {
16003
+ ids: string[];
16004
+ } | null;
16005
+ } | null;
15943
16006
  };
15944
16007
  connection?: {
15945
16008
  /** Format: uuid */
@@ -16111,23 +16174,23 @@ export interface operations {
16111
16174
  bankAccountRef?: string | null;
16112
16175
  } | null;
16113
16176
  id: string;
16114
- issues: ({
16177
+ lock?: {
16178
+ /** @enum {string} */
16179
+ status: "locked" | "unlocked";
16180
+ booksClosed?: {
16181
+ date: string;
16182
+ } | null;
16183
+ ownerStatement?: {
16184
+ ids: string[];
16185
+ } | null;
16186
+ } | null;
16187
+ issues: {
16115
16188
  /** @enum {string} */
16116
16189
  code: "line_unassignedAccount";
16117
16190
  /** @enum {string} */
16118
16191
  severity: "error";
16119
16192
  context: Record<string, never>;
16120
- } | {
16121
- /** @enum {string} */
16122
- code: "locked";
16123
- /** @enum {string} */
16124
- severity: "warning";
16125
- context: {
16126
- reasons: ("statement" | "period")[];
16127
- statementIds?: string[];
16128
- booksClosedAt?: string;
16129
- };
16130
- })[];
16193
+ }[];
16131
16194
  currency: string;
16132
16195
  /** @description Value in cents (100 = 1€) */
16133
16196
  amount: number;
@@ -16146,6 +16209,16 @@ export interface operations {
16146
16209
  /** @enum {string} */
16147
16210
  status: "unpaid" | "underpaid" | "overpaid" | "paid";
16148
16211
  date?: string | null;
16212
+ lock?: {
16213
+ /** @enum {string} */
16214
+ status: "locked" | "unlocked";
16215
+ booksClosed?: {
16216
+ date: string;
16217
+ } | null;
16218
+ ownerStatement?: {
16219
+ ids: string[];
16220
+ } | null;
16221
+ } | null;
16149
16222
  };
16150
16223
  connection?: {
16151
16224
  /** Format: uuid */
@@ -16249,6 +16322,16 @@ export interface operations {
16249
16322
  /** @enum {string} */
16250
16323
  status?: "unpaid" | "underpaid" | "overpaid" | "paid";
16251
16324
  date?: string | null;
16325
+ lock?: {
16326
+ /** @enum {string} */
16327
+ status: "locked" | "unlocked";
16328
+ booksClosed?: {
16329
+ date: string;
16330
+ } | null;
16331
+ ownerStatement?: {
16332
+ ids: string[];
16333
+ } | null;
16334
+ } | null;
16252
16335
  } | null;
16253
16336
  /** Format: uuid */
16254
16337
  connectionId?: string | null;
@@ -16390,23 +16473,23 @@ export interface operations {
16390
16473
  bankAccountRef?: string | null;
16391
16474
  } | null;
16392
16475
  id: string;
16393
- issues: ({
16476
+ lock?: {
16477
+ /** @enum {string} */
16478
+ status: "locked" | "unlocked";
16479
+ booksClosed?: {
16480
+ date: string;
16481
+ } | null;
16482
+ ownerStatement?: {
16483
+ ids: string[];
16484
+ } | null;
16485
+ } | null;
16486
+ issues: {
16394
16487
  /** @enum {string} */
16395
16488
  code: "line_unassignedAccount";
16396
16489
  /** @enum {string} */
16397
16490
  severity: "error";
16398
16491
  context: Record<string, never>;
16399
- } | {
16400
- /** @enum {string} */
16401
- code: "locked";
16402
- /** @enum {string} */
16403
- severity: "warning";
16404
- context: {
16405
- reasons: ("statement" | "period")[];
16406
- statementIds?: string[];
16407
- booksClosedAt?: string;
16408
- };
16409
- })[];
16492
+ }[];
16410
16493
  currency: string;
16411
16494
  /** @description Value in cents (100 = 1€) */
16412
16495
  amount: number;
@@ -16425,6 +16508,16 @@ export interface operations {
16425
16508
  /** @enum {string} */
16426
16509
  status: "unpaid" | "underpaid" | "overpaid" | "paid";
16427
16510
  date?: string | null;
16511
+ lock?: {
16512
+ /** @enum {string} */
16513
+ status: "locked" | "unlocked";
16514
+ booksClosed?: {
16515
+ date: string;
16516
+ } | null;
16517
+ ownerStatement?: {
16518
+ ids: string[];
16519
+ } | null;
16520
+ } | null;
16428
16521
  };
16429
16522
  connection?: {
16430
16523
  /** Format: uuid */
@@ -17339,23 +17432,23 @@ export interface operations {
17339
17432
  bankAccountRef?: string | null;
17340
17433
  } | null;
17341
17434
  id: string;
17342
- issues: ({
17435
+ lock?: {
17436
+ /** @enum {string} */
17437
+ status: "locked" | "unlocked";
17438
+ booksClosed?: {
17439
+ date: string;
17440
+ } | null;
17441
+ ownerStatement?: {
17442
+ ids: string[];
17443
+ } | null;
17444
+ } | null;
17445
+ issues: {
17343
17446
  /** @enum {string} */
17344
17447
  code: "line_unassignedAccount";
17345
17448
  /** @enum {string} */
17346
17449
  severity: "error";
17347
17450
  context: Record<string, never>;
17348
- } | {
17349
- /** @enum {string} */
17350
- code: "locked";
17351
- /** @enum {string} */
17352
- severity: "warning";
17353
- context: {
17354
- reasons: ("statement" | "period")[];
17355
- statementIds?: string[];
17356
- booksClosedAt?: string;
17357
- };
17358
- })[];
17451
+ }[];
17359
17452
  currency: string;
17360
17453
  /** @description Value in cents (100 = 1€) */
17361
17454
  amount: number;
@@ -17374,6 +17467,16 @@ export interface operations {
17374
17467
  /** @enum {string} */
17375
17468
  status: "unpaid" | "underpaid" | "overpaid" | "paid";
17376
17469
  date?: string | null;
17470
+ lock?: {
17471
+ /** @enum {string} */
17472
+ status: "locked" | "unlocked";
17473
+ booksClosed?: {
17474
+ date: string;
17475
+ } | null;
17476
+ ownerStatement?: {
17477
+ ids: string[];
17478
+ } | null;
17479
+ } | null;
17377
17480
  };
17378
17481
  connection?: {
17379
17482
  /** Format: uuid */