@vrplatform/api 1.3.1-1920 → 1.3.1-1970

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