@vrplatform/api 1.2.40-stage.1057 → 1.2.40-stage.1063

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.
@@ -4073,6 +4073,24 @@ export interface operations {
4073
4073
  id: string;
4074
4074
  hasLockedJournalEntries: boolean;
4075
4075
  issues: ({
4076
+ /** @enum {string} */
4077
+ code: "lineNotFound";
4078
+ /** @enum {string} */
4079
+ severity: "error";
4080
+ context: {
4081
+ lineIds: string[];
4082
+ };
4083
+ message: string;
4084
+ } | {
4085
+ /** @enum {string} */
4086
+ code: "unbalancedJournalEntries";
4087
+ /** @enum {string} */
4088
+ severity: "error";
4089
+ context: {
4090
+ difference: number;
4091
+ };
4092
+ message: string;
4093
+ } | {
4076
4094
  /** @enum {string} */
4077
4095
  code: "unassignedAccount";
4078
4096
  /** @enum {string} */
@@ -4143,11 +4161,11 @@ export interface operations {
4143
4161
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4144
4162
  } | null;
4145
4163
  recurringFee?: {
4146
- /** Format: uuid */
4147
4164
  id: string;
4148
4165
  uniqueRef: string;
4149
4166
  name: string;
4150
- type: string;
4167
+ /** @enum {string} */
4168
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
4151
4169
  } | null;
4152
4170
  transaction?: {
4153
4171
  id: string;
@@ -4260,11 +4278,11 @@ export interface operations {
4260
4278
  status: "active" | "inactive";
4261
4279
  } | null;
4262
4280
  recurringFee?: {
4263
- /** Format: uuid */
4264
4281
  id: string;
4265
4282
  uniqueRef: string;
4266
4283
  name: string;
4267
- type: string;
4284
+ /** @enum {string} */
4285
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
4268
4286
  } | null;
4269
4287
  }[];
4270
4288
  }[];
@@ -4429,6 +4447,24 @@ export interface operations {
4429
4447
  id: string;
4430
4448
  hasLockedJournalEntries: boolean;
4431
4449
  issues: ({
4450
+ /** @enum {string} */
4451
+ code: "lineNotFound";
4452
+ /** @enum {string} */
4453
+ severity: "error";
4454
+ context: {
4455
+ lineIds: string[];
4456
+ };
4457
+ message: string;
4458
+ } | {
4459
+ /** @enum {string} */
4460
+ code: "unbalancedJournalEntries";
4461
+ /** @enum {string} */
4462
+ severity: "error";
4463
+ context: {
4464
+ difference: number;
4465
+ };
4466
+ message: string;
4467
+ } | {
4432
4468
  /** @enum {string} */
4433
4469
  code: "unassignedAccount";
4434
4470
  /** @enum {string} */
@@ -4499,11 +4535,11 @@ export interface operations {
4499
4535
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4500
4536
  } | null;
4501
4537
  recurringFee?: {
4502
- /** Format: uuid */
4503
4538
  id: string;
4504
4539
  uniqueRef: string;
4505
4540
  name: string;
4506
- type: string;
4541
+ /** @enum {string} */
4542
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
4507
4543
  } | null;
4508
4544
  transaction?: {
4509
4545
  id: string;
@@ -4616,11 +4652,11 @@ export interface operations {
4616
4652
  status: "active" | "inactive";
4617
4653
  } | null;
4618
4654
  recurringFee?: {
4619
- /** Format: uuid */
4620
4655
  id: string;
4621
4656
  uniqueRef: string;
4622
4657
  name: string;
4623
- type: string;
4658
+ /** @enum {string} */
4659
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
4624
4660
  } | null;
4625
4661
  }[];
4626
4662
  };
@@ -4865,6 +4901,24 @@ export interface operations {
4865
4901
  id: string;
4866
4902
  hasLockedJournalEntries: boolean;
4867
4903
  issues: ({
4904
+ /** @enum {string} */
4905
+ code: "lineNotFound";
4906
+ /** @enum {string} */
4907
+ severity: "error";
4908
+ context: {
4909
+ lineIds: string[];
4910
+ };
4911
+ message: string;
4912
+ } | {
4913
+ /** @enum {string} */
4914
+ code: "unbalancedJournalEntries";
4915
+ /** @enum {string} */
4916
+ severity: "error";
4917
+ context: {
4918
+ difference: number;
4919
+ };
4920
+ message: string;
4921
+ } | {
4868
4922
  /** @enum {string} */
4869
4923
  code: "unassignedAccount";
4870
4924
  /** @enum {string} */
@@ -4935,11 +4989,11 @@ export interface operations {
4935
4989
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
4936
4990
  } | null;
4937
4991
  recurringFee?: {
4938
- /** Format: uuid */
4939
4992
  id: string;
4940
4993
  uniqueRef: string;
4941
4994
  name: string;
4942
- type: string;
4995
+ /** @enum {string} */
4996
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
4943
4997
  } | null;
4944
4998
  transaction?: {
4945
4999
  id: string;
@@ -5052,11 +5106,11 @@ export interface operations {
5052
5106
  status: "active" | "inactive";
5053
5107
  } | null;
5054
5108
  recurringFee?: {
5055
- /** Format: uuid */
5056
5109
  id: string;
5057
5110
  uniqueRef: string;
5058
5111
  name: string;
5059
- type: string;
5112
+ /** @enum {string} */
5113
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
5060
5114
  } | null;
5061
5115
  }[];
5062
5116
  };
@@ -5239,6 +5293,24 @@ export interface operations {
5239
5293
  /** Format: uuid */
5240
5294
  id: string;
5241
5295
  issues: ({
5296
+ /** @enum {string} */
5297
+ code: "lineNotFound";
5298
+ /** @enum {string} */
5299
+ severity: "error";
5300
+ context: {
5301
+ lineIds: string[];
5302
+ };
5303
+ message: string;
5304
+ } | {
5305
+ /** @enum {string} */
5306
+ code: "unbalancedJournalEntries";
5307
+ /** @enum {string} */
5308
+ severity: "error";
5309
+ context: {
5310
+ difference: number;
5311
+ };
5312
+ message: string;
5313
+ } | {
5242
5314
  /** @enum {string} */
5243
5315
  code: "unassignedAccount";
5244
5316
  /** @enum {string} */
@@ -5498,6 +5570,24 @@ export interface operations {
5498
5570
  id: string;
5499
5571
  hasLockedJournalEntries: boolean;
5500
5572
  issues: ({
5573
+ /** @enum {string} */
5574
+ code: "lineNotFound";
5575
+ /** @enum {string} */
5576
+ severity: "error";
5577
+ context: {
5578
+ lineIds: string[];
5579
+ };
5580
+ message: string;
5581
+ } | {
5582
+ /** @enum {string} */
5583
+ code: "unbalancedJournalEntries";
5584
+ /** @enum {string} */
5585
+ severity: "error";
5586
+ context: {
5587
+ difference: number;
5588
+ };
5589
+ message: string;
5590
+ } | {
5501
5591
  /** @enum {string} */
5502
5592
  code: "unassignedAccount";
5503
5593
  /** @enum {string} */
@@ -5568,11 +5658,11 @@ export interface operations {
5568
5658
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
5569
5659
  } | null;
5570
5660
  recurringFee?: {
5571
- /** Format: uuid */
5572
5661
  id: string;
5573
5662
  uniqueRef: string;
5574
5663
  name: string;
5575
- type: string;
5664
+ /** @enum {string} */
5665
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
5576
5666
  } | null;
5577
5667
  transaction?: {
5578
5668
  id: string;
@@ -5685,11 +5775,11 @@ export interface operations {
5685
5775
  status: "active" | "inactive";
5686
5776
  } | null;
5687
5777
  recurringFee?: {
5688
- /** Format: uuid */
5689
5778
  id: string;
5690
5779
  uniqueRef: string;
5691
5780
  name: string;
5692
- type: string;
5781
+ /** @enum {string} */
5782
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
5693
5783
  } | null;
5694
5784
  }[];
5695
5785
  };
@@ -5756,7 +5846,7 @@ export interface operations {
5756
5846
  data: {
5757
5847
  /** Format: uuid */
5758
5848
  listingId: string;
5759
- /** @default 2025-11-13 */
5849
+ /** @default 2025-11-14 */
5760
5850
  startAt: string;
5761
5851
  endAt?: string | null;
5762
5852
  setListingInactive?: boolean | null;
@@ -5838,7 +5928,7 @@ export interface operations {
5838
5928
  "application/json": {
5839
5929
  /** Format: uuid */
5840
5930
  listingId: string;
5841
- /** @default 2025-11-13 */
5931
+ /** @default 2025-11-14 */
5842
5932
  startAt?: string;
5843
5933
  endAt?: string | null;
5844
5934
  members: {
@@ -5872,7 +5962,7 @@ export interface operations {
5872
5962
  "application/json": {
5873
5963
  /** Format: uuid */
5874
5964
  listingId: string;
5875
- /** @default 2025-11-13 */
5965
+ /** @default 2025-11-14 */
5876
5966
  startAt: string;
5877
5967
  endAt?: string | null;
5878
5968
  setListingInactive?: boolean | null;
@@ -5952,7 +6042,7 @@ export interface operations {
5952
6042
  "application/json": {
5953
6043
  /** Format: uuid */
5954
6044
  listingId: string;
5955
- /** @default 2025-11-13 */
6045
+ /** @default 2025-11-14 */
5956
6046
  startAt: string;
5957
6047
  endAt?: string | null;
5958
6048
  setListingInactive?: boolean | null;
@@ -6035,7 +6125,7 @@ export interface operations {
6035
6125
  "application/json": {
6036
6126
  /** Format: uuid */
6037
6127
  listingId?: string;
6038
- /** @default 2025-11-13 */
6128
+ /** @default 2025-11-14 */
6039
6129
  startAt?: string;
6040
6130
  endAt?: string | null;
6041
6131
  members?: {
@@ -6069,7 +6159,7 @@ export interface operations {
6069
6159
  "application/json": {
6070
6160
  /** Format: uuid */
6071
6161
  listingId: string;
6072
- /** @default 2025-11-13 */
6162
+ /** @default 2025-11-14 */
6073
6163
  startAt: string;
6074
6164
  endAt?: string | null;
6075
6165
  setListingInactive?: boolean | null;
@@ -6255,7 +6345,7 @@ export interface operations {
6255
6345
  /** Format: uuid */
6256
6346
  sourceId?: string | null;
6257
6347
  initialOwnership?: {
6258
- /** @default 2025-11-13 */
6348
+ /** @default 2025-11-14 */
6259
6349
  startAt?: string;
6260
6350
  endAt?: string | null;
6261
6351
  members: {
@@ -6313,7 +6403,7 @@ export interface operations {
6313
6403
  status: "active" | "inactive";
6314
6404
  defaultCurrency?: string | null;
6315
6405
  activeOwnership?: {
6316
- /** @default 2025-11-13 */
6406
+ /** @default 2025-11-14 */
6317
6407
  startAt: string;
6318
6408
  endAt?: string | null;
6319
6409
  setListingInactive?: boolean | null;
@@ -6554,7 +6644,7 @@ export interface operations {
6554
6644
  status: "active" | "inactive";
6555
6645
  defaultCurrency?: string | null;
6556
6646
  activeOwnership?: {
6557
- /** @default 2025-11-13 */
6647
+ /** @default 2025-11-14 */
6558
6648
  startAt: string;
6559
6649
  endAt?: string | null;
6560
6650
  setListingInactive?: boolean | null;
@@ -6693,7 +6783,7 @@ export interface operations {
6693
6783
  /** Format: uuid */
6694
6784
  sourceId?: string | null;
6695
6785
  initialOwnership?: {
6696
- /** @default 2025-11-13 */
6786
+ /** @default 2025-11-14 */
6697
6787
  startAt?: string;
6698
6788
  endAt?: string | null;
6699
6789
  members: {
@@ -6747,7 +6837,7 @@ export interface operations {
6747
6837
  status: "active" | "inactive";
6748
6838
  defaultCurrency?: string | null;
6749
6839
  activeOwnership?: {
6750
- /** @default 2025-11-13 */
6840
+ /** @default 2025-11-14 */
6751
6841
  startAt: string;
6752
6842
  endAt?: string | null;
6753
6843
  setListingInactive?: boolean | null;
@@ -6964,7 +7054,7 @@ export interface operations {
6964
7054
  status: "active" | "inactive";
6965
7055
  defaultCurrency?: string | null;
6966
7056
  activeOwnership?: {
6967
- /** @default 2025-11-13 */
7057
+ /** @default 2025-11-14 */
6968
7058
  startAt: string;
6969
7059
  endAt?: string | null;
6970
7060
  setListingInactive?: boolean | null;
@@ -7111,7 +7201,7 @@ export interface operations {
7111
7201
  /** Format: uuid */
7112
7202
  sourceId?: string | null;
7113
7203
  initialOwnership?: {
7114
- /** @default 2025-11-13 */
7204
+ /** @default 2025-11-14 */
7115
7205
  startAt?: string;
7116
7206
  endAt?: string | null;
7117
7207
  members: {
@@ -7165,7 +7255,7 @@ export interface operations {
7165
7255
  status: "active" | "inactive";
7166
7256
  defaultCurrency?: string | null;
7167
7257
  activeOwnership?: {
7168
- /** @default 2025-11-13 */
7258
+ /** @default 2025-11-14 */
7169
7259
  startAt: string;
7170
7260
  endAt?: string | null;
7171
7261
  setListingInactive?: boolean | null;
@@ -8875,6 +8965,13 @@ export interface operations {
8875
8965
  bookingChannelsFilter?: string[] | null;
8876
8966
  /** @enum {string|null} */
8877
8967
  statusFilter?: "canceled" | "booked" | null;
8968
+ listingSubscriptions?: {
8969
+ listingId: string;
8970
+ startAt?: string | null;
8971
+ endAt?: string | null;
8972
+ /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
8973
+ rate?: number | null;
8974
+ }[] | null;
8878
8975
  id?: string | null;
8879
8976
  reservationId: string;
8880
8977
  };
@@ -8917,11 +9014,11 @@ export interface operations {
8917
9014
  type: "ledger" | "bank" | "recurringFee" | "nonPosting";
8918
9015
  } | null;
8919
9016
  recurringFee?: {
8920
- /** Format: uuid */
8921
9017
  id: string;
8922
9018
  uniqueRef: string;
8923
9019
  name: string;
8924
- type: string;
9020
+ /** @enum {string} */
9021
+ type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
8925
9022
  } | null;
8926
9023
  transaction?: {
8927
9024
  id: string;
@@ -9615,6 +9712,13 @@ export interface operations {
9615
9712
  bookingChannelsFilter?: string[] | null;
9616
9713
  /** @enum {string|null} */
9617
9714
  statusFilter?: "canceled" | "booked" | null;
9715
+ listingSubscriptions?: {
9716
+ listingId: string;
9717
+ startAt?: string | null;
9718
+ endAt?: string | null;
9719
+ /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
9720
+ rate?: number | null;
9721
+ }[] | null;
9618
9722
  };
9619
9723
  };
9620
9724
  };
@@ -9978,6 +10082,13 @@ export interface operations {
9978
10082
  bookingChannelsFilter?: string[] | null;
9979
10083
  /** @enum {string|null} */
9980
10084
  statusFilter?: "canceled" | "booked" | null;
10085
+ listingSubscriptions?: {
10086
+ listingId: string;
10087
+ startAt?: string | null;
10088
+ endAt?: string | null;
10089
+ /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
10090
+ rate?: number | null;
10091
+ }[] | null;
9981
10092
  };
9982
10093
  };
9983
10094
  };