@vrplatform/api 1.3.1-1920 → 1.3.1-1946

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.
@@ -1793,7 +1793,8 @@ export interface paths {
1793
1793
  /** @description Reservation Line Mappings List */
1794
1794
  get: operations["getReservationsLineMappings"];
1795
1795
  put?: never;
1796
- post?: never;
1796
+ /** @description Create reservation line mapping */
1797
+ post: operations["postReservationsLineMappings"];
1797
1798
  delete?: never;
1798
1799
  options?: never;
1799
1800
  head?: never;
@@ -2702,7 +2703,7 @@ export interface paths {
2702
2703
  delete?: never;
2703
2704
  options?: never;
2704
2705
  head?: never;
2705
- /** @description Update a transaction line description (books-closed lock only) */
2706
+ /** @description Update a transaction line description (description-only flow bypasses reconciliation lock) */
2706
2707
  patch: operations["patchTransactionsByTransactionIdLinesByIdDescription"];
2707
2708
  trace?: never;
2708
2709
  };
@@ -3759,6 +3760,7 @@ export interface operations {
3759
3760
  /** @enum {string} */
3760
3761
  status: "active" | "inactive";
3761
3762
  uniqueRef?: string | null;
3763
+ isOpeningBalance: boolean;
3762
3764
  /** @enum {string} */
3763
3765
  type: "deposit" | "expense" | "transfer";
3764
3766
  date: string;
@@ -4839,6 +4841,7 @@ export interface operations {
4839
4841
  currency: string;
4840
4842
  /** @enum {string} */
4841
4843
  type: "deposit" | "expense" | "transfer";
4844
+ isOpeningBalance: boolean;
4842
4845
  contact?: {
4843
4846
  /** Format: uuid */
4844
4847
  id: string;
@@ -5300,6 +5303,7 @@ export interface operations {
5300
5303
  currency: string;
5301
5304
  /** @enum {string} */
5302
5305
  type: "deposit" | "expense" | "transfer";
5306
+ isOpeningBalance: boolean;
5303
5307
  contact?: {
5304
5308
  /** Format: uuid */
5305
5309
  id: string;
@@ -8603,6 +8607,7 @@ export interface operations {
8603
8607
  currency: string;
8604
8608
  /** @enum {string} */
8605
8609
  type: "deposit" | "expense" | "transfer";
8610
+ isOpeningBalance: boolean;
8606
8611
  contact?: {
8607
8612
  /** Format: uuid */
8608
8613
  id: string;
@@ -8648,6 +8653,7 @@ export interface operations {
8648
8653
  currency: string;
8649
8654
  /** @enum {string} */
8650
8655
  type: "deposit" | "expense" | "transfer";
8656
+ isOpeningBalance: boolean;
8651
8657
  contact?: {
8652
8658
  /** Format: uuid */
8653
8659
  id: string;
@@ -16451,6 +16457,7 @@ export interface operations {
16451
16457
  currency: string;
16452
16458
  /** @enum {string} */
16453
16459
  type: "deposit" | "expense" | "transfer";
16460
+ isOpeningBalance: boolean;
16454
16461
  contact?: {
16455
16462
  /** Format: uuid */
16456
16463
  id: string;
@@ -19086,6 +19093,7 @@ export interface operations {
19086
19093
  balanceStart: number;
19087
19094
  netRevenue: number;
19088
19095
  expenses: number;
19096
+ reserve: number;
19089
19097
  transfers: number;
19090
19098
  netIncome: number;
19091
19099
  currentBalance: number;
@@ -19435,6 +19443,7 @@ export interface operations {
19435
19443
  balanceStart: number;
19436
19444
  netRevenue: number;
19437
19445
  expenses: number;
19446
+ reserve: number;
19438
19447
  transfers: number;
19439
19448
  netIncome: number;
19440
19449
  currentBalance: number;
@@ -21096,7 +21105,7 @@ export interface operations {
21096
21105
  bookingChannel?: string;
21097
21106
  amount?: number;
21098
21107
  businessModel?: "managed" | "co_host" | "co_host_airbnb";
21099
- /** @description Filter by reservation line type (paymentLine.type2), only when not excluded */
21108
+ /** @description Filter by reservation line type (paymentLine.effectiveType), only when not excluded */
21100
21109
  lineType?: string;
21101
21110
  includeLines?: boolean;
21102
21111
  limit?: number;
@@ -21645,6 +21654,7 @@ export interface operations {
21645
21654
  currency: string;
21646
21655
  /** @enum {string} */
21647
21656
  type: "deposit" | "expense" | "transfer";
21657
+ isOpeningBalance: boolean;
21648
21658
  contact?: {
21649
21659
  /** Format: uuid */
21650
21660
  id: string;
@@ -22071,7 +22081,7 @@ export interface operations {
22071
22081
  bookingChannel?: string;
22072
22082
  amount?: number;
22073
22083
  businessModel?: "managed" | "co_host" | "co_host_airbnb";
22074
- /** @description Filter by reservation line type (paymentLine.type2), only when not excluded */
22084
+ /** @description Filter by reservation line type (paymentLine.effectiveType), only when not excluded */
22075
22085
  lineType?: string;
22076
22086
  includeLines?: boolean;
22077
22087
  };
@@ -22325,6 +22335,9 @@ export interface operations {
22325
22335
  status: "mapped" | "unmapped" | "excluded";
22326
22336
  revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
22327
22337
  type: string;
22338
+ description?: string | null;
22339
+ /** @enum {string} */
22340
+ source: "manual" | "synced";
22328
22341
  channelMappings: {
22329
22342
  id?: string | null;
22330
22343
  account?: {
@@ -22432,6 +22445,141 @@ export interface operations {
22432
22445
  };
22433
22446
  };
22434
22447
  };
22448
+ postReservationsLineMappings: {
22449
+ parameters: {
22450
+ query?: never;
22451
+ header?: never;
22452
+ path?: never;
22453
+ cookie?: never;
22454
+ };
22455
+ requestBody?: {
22456
+ content: {
22457
+ "application/json": {
22458
+ type: string;
22459
+ description?: string | null;
22460
+ accountId?: string | null;
22461
+ revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
22462
+ };
22463
+ };
22464
+ };
22465
+ responses: {
22466
+ /** @description Successful response */
22467
+ 200: {
22468
+ headers: {
22469
+ [name: string]: unknown;
22470
+ };
22471
+ content: {
22472
+ "application/json": {
22473
+ id?: string | null;
22474
+ account?: {
22475
+ /** Format: uuid */
22476
+ id: string;
22477
+ name: string;
22478
+ } | null;
22479
+ /** @enum {string} */
22480
+ status: "mapped" | "unmapped" | "excluded";
22481
+ revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
22482
+ type: string;
22483
+ description?: string | null;
22484
+ /** @enum {string} */
22485
+ source: "manual" | "synced";
22486
+ channelMappings: {
22487
+ id?: string | null;
22488
+ account?: {
22489
+ /** Format: uuid */
22490
+ id: string;
22491
+ name: string;
22492
+ } | null;
22493
+ /** @enum {string} */
22494
+ status: "mapped" | "unmapped" | "excluded";
22495
+ revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
22496
+ bookingChannel: string;
22497
+ }[];
22498
+ };
22499
+ };
22500
+ };
22501
+ /** @description Bad request */
22502
+ 400: {
22503
+ headers: {
22504
+ [name: string]: unknown;
22505
+ };
22506
+ content: {
22507
+ "application/json": {
22508
+ code: string;
22509
+ message: string;
22510
+ issues?: {
22511
+ message: string;
22512
+ }[];
22513
+ context?: unknown;
22514
+ };
22515
+ };
22516
+ };
22517
+ /** @description Unauthorized */
22518
+ 401: {
22519
+ headers: {
22520
+ [name: string]: unknown;
22521
+ };
22522
+ content: {
22523
+ "application/json": {
22524
+ code: string;
22525
+ message: string;
22526
+ issues?: {
22527
+ message: string;
22528
+ }[];
22529
+ context?: unknown;
22530
+ };
22531
+ };
22532
+ };
22533
+ /** @description Forbidden */
22534
+ 403: {
22535
+ headers: {
22536
+ [name: string]: unknown;
22537
+ };
22538
+ content: {
22539
+ "application/json": {
22540
+ code: string;
22541
+ message: string;
22542
+ issues?: {
22543
+ message: string;
22544
+ }[];
22545
+ context?: unknown;
22546
+ };
22547
+ };
22548
+ };
22549
+ /** @description Not found */
22550
+ 404: {
22551
+ headers: {
22552
+ [name: string]: unknown;
22553
+ };
22554
+ content: {
22555
+ "application/json": {
22556
+ code: string;
22557
+ message: string;
22558
+ issues?: {
22559
+ message: string;
22560
+ }[];
22561
+ context?: unknown;
22562
+ };
22563
+ };
22564
+ };
22565
+ /** @description Internal server error */
22566
+ 500: {
22567
+ headers: {
22568
+ [name: string]: unknown;
22569
+ };
22570
+ content: {
22571
+ "application/json": {
22572
+ code: string;
22573
+ message: string;
22574
+ issues?: {
22575
+ message: string;
22576
+ }[];
22577
+ context?: unknown;
22578
+ };
22579
+ };
22580
+ };
22581
+ };
22582
+ };
22435
22583
  getReservationsLineMappingsCsv: {
22436
22584
  parameters: {
22437
22585
  query?: {
@@ -22552,6 +22700,7 @@ export interface operations {
22552
22700
  requestBody?: {
22553
22701
  content: {
22554
22702
  "application/json": {
22703
+ description?: string | null;
22555
22704
  accountId?: string | null;
22556
22705
  revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
22557
22706
  channelMappings?: {
@@ -22580,6 +22729,9 @@ export interface operations {
22580
22729
  status: "mapped" | "unmapped" | "excluded";
22581
22730
  revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
22582
22731
  type: string;
22732
+ description?: string | null;
22733
+ /** @enum {string} */
22734
+ source: "manual" | "synced";
22583
22735
  channelMappings: {
22584
22736
  id?: string | null;
22585
22737
  account?: {
@@ -22884,6 +23036,7 @@ export interface operations {
22884
23036
  currency: string;
22885
23037
  /** @enum {string} */
22886
23038
  type: "deposit" | "expense" | "transfer";
23039
+ isOpeningBalance: boolean;
22887
23040
  contact?: {
22888
23041
  /** Format: uuid */
22889
23042
  id: string;
@@ -23442,6 +23595,7 @@ export interface operations {
23442
23595
  currency: string;
23443
23596
  /** @enum {string} */
23444
23597
  type: "deposit" | "expense" | "transfer";
23598
+ isOpeningBalance: boolean;
23445
23599
  contact?: {
23446
23600
  /** Format: uuid */
23447
23601
  id: string;
@@ -24120,6 +24274,7 @@ export interface operations {
24120
24274
  currency: string;
24121
24275
  /** @enum {string} */
24122
24276
  type: "deposit" | "expense" | "transfer";
24277
+ isOpeningBalance: boolean;
24123
24278
  contact?: {
24124
24279
  /** Format: uuid */
24125
24280
  id: string;
@@ -24573,6 +24728,7 @@ export interface operations {
24573
24728
  currency: string;
24574
24729
  /** @enum {string} */
24575
24730
  type: "deposit" | "expense" | "transfer";
24731
+ isOpeningBalance: boolean;
24576
24732
  contact?: {
24577
24733
  /** Format: uuid */
24578
24734
  id: string;
@@ -25012,6 +25168,7 @@ export interface operations {
25012
25168
  currency: string;
25013
25169
  /** @enum {string} */
25014
25170
  type: "deposit" | "expense" | "transfer";
25171
+ isOpeningBalance: boolean;
25015
25172
  contact?: {
25016
25173
  /** Format: uuid */
25017
25174
  id: string;
@@ -25248,27 +25405,20 @@ export interface operations {
25248
25405
  query?: {
25249
25406
  limit?: number;
25250
25407
  page?: number;
25251
- /** @description comma separated periods */
25252
25408
  periodIds?: string;
25253
25409
  /** @description Year in format YYYY */
25254
25410
  year?: number;
25255
- /** @description comma separated listings */
25256
25411
  listingIds?: string;
25257
- /** @description comma separated statements */
25258
25412
  statementIds?: string;
25259
25413
  /** @description Date in format YYYY-MM */
25260
25414
  month?: string;
25261
25415
  search?: string;
25262
25416
  status?: ("draft" | "inReview" | "published") | "all";
25263
- /** @description comma separated owners */
25264
25417
  ownerIds?: string;
25265
- /** @description comma separated owners */
25266
25418
  listingCollectionIds?: string;
25267
- /** @description comma separated recurring fees */
25268
25419
  recurringFeeIds?: string;
25269
25420
  /** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
25270
25421
  dateRange?: string;
25271
- /** @description Whether the end date is inclusive or exclusive */
25272
25422
  isDateRangeEndInclusive?: boolean;
25273
25423
  };
25274
25424
  header?: never;
@@ -26845,27 +26995,20 @@ export interface operations {
26845
26995
  query?: {
26846
26996
  limit?: number;
26847
26997
  page?: number;
26848
- /** @description comma separated periods */
26849
26998
  periodIds?: string;
26850
26999
  /** @description Year in format YYYY */
26851
27000
  year?: number;
26852
- /** @description comma separated listings */
26853
27001
  listingIds?: string;
26854
- /** @description comma separated statements */
26855
27002
  statementIds?: string;
26856
27003
  /** @description Date in format YYYY-MM */
26857
27004
  month?: string;
26858
27005
  search?: string;
26859
27006
  status?: ("draft" | "inReview" | "published") | "all";
26860
- /** @description comma separated owners */
26861
27007
  ownerIds?: string;
26862
- /** @description comma separated owners */
26863
27008
  listingCollectionIds?: string;
26864
- /** @description comma separated recurring fees */
26865
27009
  recurringFeeIds?: string;
26866
27010
  /** @description Date range in format YYYY-MM-DD...YYYY-MM-DD */
26867
27011
  dateRange?: string;
26868
- /** @description Whether the end date is inclusive or exclusive */
26869
27012
  isDateRangeEndInclusive?: boolean;
26870
27013
  };
26871
27014
  header?: never;
@@ -27999,6 +28142,7 @@ export interface operations {
27999
28142
  /** @enum {string} */
28000
28143
  status: "active" | "inactive";
28001
28144
  uniqueRef?: string | null;
28145
+ isOpeningBalance: boolean;
28002
28146
  /** @enum {string} */
28003
28147
  type: "deposit" | "expense" | "transfer";
28004
28148
  date: string;
@@ -32669,13 +32813,7 @@ export interface operations {
32669
32813
  };
32670
32814
  requestBody?: {
32671
32815
  content: {
32672
- "application/json": {
32673
- cancelation?: {
32674
- /** @enum {string} */
32675
- reason?: "different-expectations" | "different-provider" | "missing-feature" | "no-longer-needed" | "switch-to-gl" | "removed-from-billing-console" | "other";
32676
- feedback?: string | null;
32677
- };
32678
- };
32816
+ "application/json": Record<string, never>;
32679
32817
  };
32680
32818
  };
32681
32819
  responses: {
@@ -33576,6 +33714,7 @@ export interface operations {
33576
33714
  parameters: {
33577
33715
  query?: {
33578
33716
  type?: "deposit" | "expense" | "transfer";
33717
+ isOpeningBalance?: boolean;
33579
33718
  status?: "active" | "inactive";
33580
33719
  includeLines?: boolean;
33581
33720
  accountId?: string;
@@ -33621,6 +33760,7 @@ export interface operations {
33621
33760
  /** @enum {string} */
33622
33761
  status: "active" | "inactive";
33623
33762
  uniqueRef?: string | null;
33763
+ isOpeningBalance: boolean;
33624
33764
  /** @enum {string} */
33625
33765
  type: "deposit" | "expense" | "transfer";
33626
33766
  date: string;
@@ -33958,6 +34098,7 @@ export interface operations {
33958
34098
  accountId?: string | null;
33959
34099
  contactId?: string | null;
33960
34100
  uniqueRef?: string | null;
34101
+ isOpeningBalance?: boolean;
33961
34102
  /** @enum {string} */
33962
34103
  type: "deposit" | "expense" | "transfer";
33963
34104
  date: string;
@@ -34035,6 +34176,7 @@ export interface operations {
34035
34176
  /** @enum {string} */
34036
34177
  status: "active" | "inactive";
34037
34178
  uniqueRef?: string | null;
34179
+ isOpeningBalance: boolean;
34038
34180
  /** @enum {string} */
34039
34181
  type: "deposit" | "expense" | "transfer";
34040
34182
  date: string;
@@ -34365,6 +34507,7 @@ export interface operations {
34365
34507
  accountId?: string | null;
34366
34508
  contactId?: string | null;
34367
34509
  uniqueRef?: string | null;
34510
+ isOpeningBalance?: boolean;
34368
34511
  /** @enum {string} */
34369
34512
  type: "deposit" | "expense" | "transfer";
34370
34513
  date: string;
@@ -34661,6 +34804,7 @@ export interface operations {
34661
34804
  parameters: {
34662
34805
  query?: {
34663
34806
  type?: "deposit" | "expense" | "transfer";
34807
+ isOpeningBalance?: boolean;
34664
34808
  status?: "active" | "inactive";
34665
34809
  includeLines?: boolean;
34666
34810
  accountId?: string;
@@ -34789,6 +34933,7 @@ export interface operations {
34789
34933
  parameters: {
34790
34934
  query?: {
34791
34935
  type?: "deposit" | "expense" | "transfer";
34936
+ isOpeningBalance?: boolean;
34792
34937
  status?: "active" | "inactive";
34793
34938
  includeLines?: boolean;
34794
34939
  accountId?: string;
@@ -34917,6 +35062,7 @@ export interface operations {
34917
35062
  parameters: {
34918
35063
  query?: {
34919
35064
  type?: "deposit" | "expense" | "transfer";
35065
+ isOpeningBalance?: boolean;
34920
35066
  status?: "active" | "inactive";
34921
35067
  includeLines?: boolean;
34922
35068
  accountId?: string;
@@ -36790,6 +36936,7 @@ export interface operations {
36790
36936
  /** @enum {string} */
36791
36937
  status: "active" | "inactive";
36792
36938
  uniqueRef?: string | null;
36939
+ isOpeningBalance: boolean;
36793
36940
  /** @enum {string} */
36794
36941
  type: "deposit" | "expense" | "transfer";
36795
36942
  date: string;
@@ -37107,6 +37254,7 @@ export interface operations {
37107
37254
  parameters: {
37108
37255
  query?: {
37109
37256
  type?: "deposit" | "expense" | "transfer";
37257
+ isOpeningBalance?: boolean;
37110
37258
  status?: "active" | "inactive";
37111
37259
  includeLines?: boolean;
37112
37260
  accountId?: string;
@@ -37253,6 +37401,7 @@ export interface operations {
37253
37401
  /** @enum {string} */
37254
37402
  status: "active" | "inactive";
37255
37403
  uniqueRef?: string | null;
37404
+ isOpeningBalance: boolean;
37256
37405
  /** @enum {string} */
37257
37406
  type: "deposit" | "expense" | "transfer";
37258
37407
  date: string;
@@ -37582,6 +37731,7 @@ export interface operations {
37582
37731
  accountId?: string | null;
37583
37732
  contactId?: string | null;
37584
37733
  uniqueRef?: string | null;
37734
+ isOpeningBalance?: boolean;
37585
37735
  /** @enum {string} */
37586
37736
  type?: "deposit" | "expense" | "transfer";
37587
37737
  date?: string;
@@ -37719,6 +37869,7 @@ export interface operations {
37719
37869
  /** @enum {string} */
37720
37870
  status: "active" | "inactive";
37721
37871
  uniqueRef?: string | null;
37872
+ isOpeningBalance: boolean;
37722
37873
  /** @enum {string} */
37723
37874
  type: "deposit" | "expense" | "transfer";
37724
37875
  date: string;
@@ -38194,6 +38345,7 @@ export interface operations {
38194
38345
  /** @enum {string} */
38195
38346
  status: "active" | "inactive";
38196
38347
  uniqueRef?: string | null;
38348
+ isOpeningBalance: boolean;
38197
38349
  /** @enum {string} */
38198
38350
  type: "deposit" | "expense" | "transfer";
38199
38351
  date: string;