@vrplatform/api 1.3.0-stage.1258 → 1.3.0-stage.1261

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