@vrplatform/api 1.2.33-stage.846 → 1.2.33-stage.848

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.
@@ -12502,7 +12502,7 @@ export interface operations {
12502
12502
  content: {
12503
12503
  "application/json": {
12504
12504
  data: {
12505
- id?: string | null;
12505
+ id: string | null;
12506
12506
  /** @description Value in cents (100 = 1€) */
12507
12507
  total: number;
12508
12508
  financials: {
@@ -12608,107 +12608,129 @@ export interface operations {
12608
12608
  listing: {
12609
12609
  id: string;
12610
12610
  name: string;
12611
- uniqueRef?: string | null;
12611
+ uniqueRef: string | null;
12612
12612
  };
12613
12613
  /** @enum {string} */
12614
- status: "preview" | "draft" | "inReview" | "void" | "published";
12615
- ownership?: {
12614
+ status: "draft" | "inReview" | "void" | "published" | "preview";
12615
+ ownership: {
12616
12616
  id: string;
12617
12617
  startAt: string;
12618
- endAt?: string | null;
12618
+ endAt: string | null;
12619
12619
  members: {
12620
12620
  id: string;
12621
- ownerId?: string | null;
12622
- contactId?: string | null;
12621
+ ownerId: string | null;
12622
+ contactId: string | null;
12623
12623
  split: number;
12624
12624
  }[];
12625
12625
  } | null;
12626
12626
  layout: {
12627
+ id: string;
12627
12628
  name: string;
12628
- /** @enum {string|null} */
12629
- summaryType?: "default" | "invoice" | null;
12629
+ /**
12630
+ * @default default
12631
+ * @enum {string}
12632
+ */
12633
+ summaryType: "default" | "invoice";
12630
12634
  netRevenueSections: {
12631
12635
  id?: string | null;
12632
12636
  name: string;
12633
- locked?: boolean | null;
12634
- /** @enum {string|null} */
12635
- visible?: "all" | "manager" | "none" | null;
12636
- columns: ({
12637
+ /** @enum {string} */
12638
+ visible?: "all" | "manager" | "none";
12639
+ locked?: boolean;
12640
+ /** @default [] */
12641
+ columns: {
12637
12642
  id?: string | null;
12638
12643
  name: string;
12639
- locked?: boolean | null;
12640
- /** @enum {string|null} */
12641
- visible?: "all" | "manager" | "none" | null;
12644
+ type: string;
12645
+ value?: (string | number | string[] | number[] | {
12646
+ [key: string]: unknown;
12647
+ }) | null;
12642
12648
  /** @enum {string} */
12643
- type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
12644
- value: string;
12645
- } | {
12646
- id?: string | null;
12647
- name: string;
12648
- locked?: boolean | null;
12649
- /** @enum {string|null} */
12650
- visible?: "all" | "manager" | "none" | null;
12649
+ visible?: "all" | "manager" | "none";
12650
+ locked?: boolean;
12651
+ bold?: boolean;
12651
12652
  /** @enum {string} */
12652
- type: "accounts";
12653
- value: string[];
12654
- })[];
12653
+ align?: "left" | "right";
12654
+ hide?: boolean;
12655
+ props?: {
12656
+ [key: string]: unknown;
12657
+ };
12658
+ sectionId?: string | null;
12659
+ invert?: boolean;
12660
+ fees?: {
12661
+ [key: string]: unknown;
12662
+ };
12663
+ }[];
12655
12664
  }[];
12656
12665
  otherSections: {
12657
12666
  id?: string | null;
12658
12667
  name: string;
12659
- locked?: boolean | null;
12660
- /** @enum {string|null} */
12661
- visible?: "all" | "manager" | "none" | null;
12662
- columns: ({
12668
+ /** @enum {string} */
12669
+ visible?: "all" | "manager" | "none";
12670
+ locked?: boolean;
12671
+ /** @default [] */
12672
+ columns: {
12663
12673
  id?: string | null;
12664
12674
  name: string;
12665
- locked?: boolean | null;
12666
- /** @enum {string|null} */
12667
- visible?: "all" | "manager" | "none" | null;
12675
+ type: string;
12676
+ value?: (string | number | string[] | number[] | {
12677
+ [key: string]: unknown;
12678
+ }) | null;
12668
12679
  /** @enum {string} */
12669
- type: "field";
12670
- value: string;
12671
- } | {
12672
- id?: string | null;
12673
- name: string;
12674
- locked?: boolean | null;
12675
- /** @enum {string|null} */
12676
- visible?: "all" | "manager" | "none" | null;
12680
+ visible?: "all" | "manager" | "none";
12681
+ locked?: boolean;
12682
+ bold?: boolean;
12677
12683
  /** @enum {string} */
12678
- type: "accounts";
12679
- value: string[];
12680
- })[];
12684
+ align?: "left" | "right";
12685
+ hide?: boolean;
12686
+ props?: {
12687
+ [key: string]: unknown;
12688
+ };
12689
+ sectionId?: string | null;
12690
+ invert?: boolean;
12691
+ fees?: {
12692
+ [key: string]: unknown;
12693
+ };
12694
+ }[];
12681
12695
  }[];
12682
- id: string;
12683
12696
  systemSections: {
12684
12697
  id?: string | null;
12685
12698
  name: string;
12686
- locked?: boolean | null;
12687
- /** @enum {string|null} */
12688
- visible?: "all" | "manager" | "none" | null;
12689
- columns: ({
12699
+ /** @enum {string} */
12700
+ visible?: "all" | "manager" | "none";
12701
+ locked?: boolean;
12702
+ /** @default [] */
12703
+ columns: {
12690
12704
  id?: string | null;
12691
12705
  name: string;
12692
- locked?: boolean | null;
12693
- /** @enum {string|null} */
12694
- visible?: "all" | "manager" | "none" | null;
12706
+ type: string;
12707
+ value?: (string | number | string[] | number[] | {
12708
+ [key: string]: unknown;
12709
+ }) | null;
12695
12710
  /** @enum {string} */
12696
- type: "field";
12697
- value: string;
12698
- } | {
12699
- id?: string | null;
12700
- name: string;
12701
- locked?: boolean | null;
12702
- /** @enum {string|null} */
12703
- visible?: "all" | "manager" | "none" | null;
12711
+ visible?: "all" | "manager" | "none";
12712
+ locked?: boolean;
12713
+ bold?: boolean;
12704
12714
  /** @enum {string} */
12705
- type: "accounts";
12706
- value: string[];
12707
- })[];
12715
+ align?: "left" | "right";
12716
+ hide?: boolean;
12717
+ props?: {
12718
+ [key: string]: unknown;
12719
+ };
12720
+ sectionId?: string | null;
12721
+ invert?: boolean;
12722
+ fees?: {
12723
+ [key: string]: unknown;
12724
+ };
12725
+ }[];
12726
+ }[];
12727
+ activeListings?: {
12728
+ id: string;
12729
+ name: string;
12708
12730
  }[];
12709
12731
  };
12710
12732
  rows: ({
12711
- id?: string | null;
12733
+ id: string | null;
12712
12734
  /** @description Value in cents (100 = 1€) */
12713
12735
  total: number;
12714
12736
  section: string;
@@ -12733,7 +12755,7 @@ export interface operations {
12733
12755
  name: string;
12734
12756
  text: string;
12735
12757
  type: string;
12736
- value?: (number | string) | null;
12758
+ value: (number | string) | null;
12737
12759
  props?: {
12738
12760
  [key: string]: unknown;
12739
12761
  };
@@ -12745,12 +12767,12 @@ export interface operations {
12745
12767
  /** @enum {string} */
12746
12768
  type: "deposit" | "expense" | "transfer";
12747
12769
  description: string;
12748
- recurringFee?: {
12770
+ recurringFee: {
12749
12771
  id: string;
12750
12772
  } | null;
12751
12773
  };
12752
12774
  } | {
12753
- id?: string | null;
12775
+ id: string | null;
12754
12776
  /** @description Value in cents (100 = 1€) */
12755
12777
  total: number;
12756
12778
  section: string;
@@ -12775,7 +12797,7 @@ export interface operations {
12775
12797
  name: string;
12776
12798
  text: string;
12777
12799
  type: string;
12778
- value?: (number | string) | null;
12800
+ value: (number | string) | null;
12779
12801
  props?: {
12780
12802
  [key: string]: unknown;
12781
12803
  };
@@ -12783,19 +12805,21 @@ export interface operations {
12783
12805
  /** @enum {string} */
12784
12806
  type: "reservation";
12785
12807
  source: {
12786
- /** Format: uuid */
12787
12808
  id: string;
12788
- confirmationCode?: string | null;
12789
- pmsReferenceCode?: string | null;
12790
- guestName?: string | null;
12791
- checkIn?: string | null;
12792
- checkOut?: string | null;
12793
- nights?: number | null;
12794
- bookingPlatform?: string | null;
12809
+ confirmationCode: string | null;
12810
+ pmsReferenceCode: string | null;
12811
+ guestName: string | null;
12812
+ checkIn: string | null;
12813
+ checkOut: string | null;
12814
+ nights: number | null;
12815
+ bookingPlatform: string | null;
12816
+ channelName: string | null;
12817
+ channelUniqueRef: string | null;
12795
12818
  payment: {
12796
12819
  expected: number;
12797
12820
  received: number;
12798
- status: ("unpaid" | "underpaid" | "overpaid" | "paid") | "coHost";
12821
+ /** @enum {string} */
12822
+ status: "unpaid" | "underpaid" | "overpaid" | "paid" | "coHost";
12799
12823
  };
12800
12824
  issues: ({
12801
12825
  /** @enum {string} */
@@ -12811,7 +12835,7 @@ export interface operations {
12811
12835
  /** @enum {string} */
12812
12836
  severity: "warning";
12813
12837
  context: {
12814
- startDate?: string | null;
12838
+ startDate: string | null;
12815
12839
  };
12816
12840
  } | {
12817
12841
  /** @enum {string} */
@@ -12819,7 +12843,7 @@ export interface operations {
12819
12843
  /** @enum {string} */
12820
12844
  severity: "warning";
12821
12845
  context: {
12822
- startDate?: string | null;
12846
+ startDate: string | null;
12823
12847
  };
12824
12848
  } | {
12825
12849
  /** @enum {string} */
@@ -12828,10 +12852,10 @@ export interface operations {
12828
12852
  severity: "warning";
12829
12853
  context: Record<string, never>;
12830
12854
  })[];
12831
- generalLedgerPostingAt?: string | null;
12855
+ generalLedgerPostingAt: string | null;
12832
12856
  };
12833
12857
  } | {
12834
- id?: string | null;
12858
+ id: string | null;
12835
12859
  /** @description Value in cents (100 = 1€) */
12836
12860
  total: number;
12837
12861
  section: string;
@@ -12856,7 +12880,7 @@ export interface operations {
12856
12880
  name: string;
12857
12881
  text: string;
12858
12882
  type: string;
12859
- value?: (number | string) | null;
12883
+ value: (number | string) | null;
12860
12884
  props?: {
12861
12885
  [key: string]: unknown;
12862
12886
  };
@@ -12864,7 +12888,7 @@ export interface operations {
12864
12888
  /** @enum {string} */
12865
12889
  type: "summary";
12866
12890
  source: {
12867
- id?: string | null;
12891
+ id: string | null;
12868
12892
  };
12869
12893
  })[];
12870
12894
  }[];
@@ -12940,7 +12964,7 @@ export interface operations {
12940
12964
  };
12941
12965
  content: {
12942
12966
  "application/json": {
12943
- id?: string | null;
12967
+ id: string | null;
12944
12968
  /** @description Value in cents (100 = 1€) */
12945
12969
  total: number;
12946
12970
  financials: {
@@ -13046,107 +13070,129 @@ export interface operations {
13046
13070
  listing: {
13047
13071
  id: string;
13048
13072
  name: string;
13049
- uniqueRef?: string | null;
13073
+ uniqueRef: string | null;
13050
13074
  };
13051
13075
  /** @enum {string} */
13052
- status: "preview" | "draft" | "inReview" | "void" | "published";
13053
- ownership?: {
13076
+ status: "draft" | "inReview" | "void" | "published" | "preview";
13077
+ ownership: {
13054
13078
  id: string;
13055
13079
  startAt: string;
13056
- endAt?: string | null;
13080
+ endAt: string | null;
13057
13081
  members: {
13058
13082
  id: string;
13059
- ownerId?: string | null;
13060
- contactId?: string | null;
13083
+ ownerId: string | null;
13084
+ contactId: string | null;
13061
13085
  split: number;
13062
13086
  }[];
13063
13087
  } | null;
13064
13088
  layout: {
13089
+ id: string;
13065
13090
  name: string;
13066
- /** @enum {string|null} */
13067
- summaryType?: "default" | "invoice" | null;
13091
+ /**
13092
+ * @default default
13093
+ * @enum {string}
13094
+ */
13095
+ summaryType: "default" | "invoice";
13068
13096
  netRevenueSections: {
13069
13097
  id?: string | null;
13070
13098
  name: string;
13071
- locked?: boolean | null;
13072
- /** @enum {string|null} */
13073
- visible?: "all" | "manager" | "none" | null;
13074
- columns: ({
13099
+ /** @enum {string} */
13100
+ visible?: "all" | "manager" | "none";
13101
+ locked?: boolean;
13102
+ /** @default [] */
13103
+ columns: {
13075
13104
  id?: string | null;
13076
13105
  name: string;
13077
- locked?: boolean | null;
13078
- /** @enum {string|null} */
13079
- visible?: "all" | "manager" | "none" | null;
13106
+ type: string;
13107
+ value?: (string | number | string[] | number[] | {
13108
+ [key: string]: unknown;
13109
+ }) | null;
13080
13110
  /** @enum {string} */
13081
- type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
13082
- value: string;
13083
- } | {
13084
- id?: string | null;
13085
- name: string;
13086
- locked?: boolean | null;
13087
- /** @enum {string|null} */
13088
- visible?: "all" | "manager" | "none" | null;
13111
+ visible?: "all" | "manager" | "none";
13112
+ locked?: boolean;
13113
+ bold?: boolean;
13089
13114
  /** @enum {string} */
13090
- type: "accounts";
13091
- value: string[];
13092
- })[];
13115
+ align?: "left" | "right";
13116
+ hide?: boolean;
13117
+ props?: {
13118
+ [key: string]: unknown;
13119
+ };
13120
+ sectionId?: string | null;
13121
+ invert?: boolean;
13122
+ fees?: {
13123
+ [key: string]: unknown;
13124
+ };
13125
+ }[];
13093
13126
  }[];
13094
13127
  otherSections: {
13095
13128
  id?: string | null;
13096
13129
  name: string;
13097
- locked?: boolean | null;
13098
- /** @enum {string|null} */
13099
- visible?: "all" | "manager" | "none" | null;
13100
- columns: ({
13130
+ /** @enum {string} */
13131
+ visible?: "all" | "manager" | "none";
13132
+ locked?: boolean;
13133
+ /** @default [] */
13134
+ columns: {
13101
13135
  id?: string | null;
13102
13136
  name: string;
13103
- locked?: boolean | null;
13104
- /** @enum {string|null} */
13105
- visible?: "all" | "manager" | "none" | null;
13137
+ type: string;
13138
+ value?: (string | number | string[] | number[] | {
13139
+ [key: string]: unknown;
13140
+ }) | null;
13106
13141
  /** @enum {string} */
13107
- type: "field";
13108
- value: string;
13109
- } | {
13110
- id?: string | null;
13111
- name: string;
13112
- locked?: boolean | null;
13113
- /** @enum {string|null} */
13114
- visible?: "all" | "manager" | "none" | null;
13142
+ visible?: "all" | "manager" | "none";
13143
+ locked?: boolean;
13144
+ bold?: boolean;
13115
13145
  /** @enum {string} */
13116
- type: "accounts";
13117
- value: string[];
13118
- })[];
13146
+ align?: "left" | "right";
13147
+ hide?: boolean;
13148
+ props?: {
13149
+ [key: string]: unknown;
13150
+ };
13151
+ sectionId?: string | null;
13152
+ invert?: boolean;
13153
+ fees?: {
13154
+ [key: string]: unknown;
13155
+ };
13156
+ }[];
13119
13157
  }[];
13120
- id: string;
13121
13158
  systemSections: {
13122
13159
  id?: string | null;
13123
13160
  name: string;
13124
- locked?: boolean | null;
13125
- /** @enum {string|null} */
13126
- visible?: "all" | "manager" | "none" | null;
13127
- columns: ({
13161
+ /** @enum {string} */
13162
+ visible?: "all" | "manager" | "none";
13163
+ locked?: boolean;
13164
+ /** @default [] */
13165
+ columns: {
13128
13166
  id?: string | null;
13129
13167
  name: string;
13130
- locked?: boolean | null;
13131
- /** @enum {string|null} */
13132
- visible?: "all" | "manager" | "none" | null;
13168
+ type: string;
13169
+ value?: (string | number | string[] | number[] | {
13170
+ [key: string]: unknown;
13171
+ }) | null;
13133
13172
  /** @enum {string} */
13134
- type: "field";
13135
- value: string;
13136
- } | {
13137
- id?: string | null;
13138
- name: string;
13139
- locked?: boolean | null;
13140
- /** @enum {string|null} */
13141
- visible?: "all" | "manager" | "none" | null;
13173
+ visible?: "all" | "manager" | "none";
13174
+ locked?: boolean;
13175
+ bold?: boolean;
13142
13176
  /** @enum {string} */
13143
- type: "accounts";
13144
- value: string[];
13145
- })[];
13177
+ align?: "left" | "right";
13178
+ hide?: boolean;
13179
+ props?: {
13180
+ [key: string]: unknown;
13181
+ };
13182
+ sectionId?: string | null;
13183
+ invert?: boolean;
13184
+ fees?: {
13185
+ [key: string]: unknown;
13186
+ };
13187
+ }[];
13188
+ }[];
13189
+ activeListings?: {
13190
+ id: string;
13191
+ name: string;
13146
13192
  }[];
13147
13193
  };
13148
13194
  rows: ({
13149
- id?: string | null;
13195
+ id: string | null;
13150
13196
  /** @description Value in cents (100 = 1€) */
13151
13197
  total: number;
13152
13198
  section: string;
@@ -13171,7 +13217,7 @@ export interface operations {
13171
13217
  name: string;
13172
13218
  text: string;
13173
13219
  type: string;
13174
- value?: (number | string) | null;
13220
+ value: (number | string) | null;
13175
13221
  props?: {
13176
13222
  [key: string]: unknown;
13177
13223
  };
@@ -13183,12 +13229,12 @@ export interface operations {
13183
13229
  /** @enum {string} */
13184
13230
  type: "deposit" | "expense" | "transfer";
13185
13231
  description: string;
13186
- recurringFee?: {
13232
+ recurringFee: {
13187
13233
  id: string;
13188
13234
  } | null;
13189
13235
  };
13190
13236
  } | {
13191
- id?: string | null;
13237
+ id: string | null;
13192
13238
  /** @description Value in cents (100 = 1€) */
13193
13239
  total: number;
13194
13240
  section: string;
@@ -13213,7 +13259,7 @@ export interface operations {
13213
13259
  name: string;
13214
13260
  text: string;
13215
13261
  type: string;
13216
- value?: (number | string) | null;
13262
+ value: (number | string) | null;
13217
13263
  props?: {
13218
13264
  [key: string]: unknown;
13219
13265
  };
@@ -13221,19 +13267,21 @@ export interface operations {
13221
13267
  /** @enum {string} */
13222
13268
  type: "reservation";
13223
13269
  source: {
13224
- /** Format: uuid */
13225
13270
  id: string;
13226
- confirmationCode?: string | null;
13227
- pmsReferenceCode?: string | null;
13228
- guestName?: string | null;
13229
- checkIn?: string | null;
13230
- checkOut?: string | null;
13231
- nights?: number | null;
13232
- bookingPlatform?: string | null;
13271
+ confirmationCode: string | null;
13272
+ pmsReferenceCode: string | null;
13273
+ guestName: string | null;
13274
+ checkIn: string | null;
13275
+ checkOut: string | null;
13276
+ nights: number | null;
13277
+ bookingPlatform: string | null;
13278
+ channelName: string | null;
13279
+ channelUniqueRef: string | null;
13233
13280
  payment: {
13234
13281
  expected: number;
13235
13282
  received: number;
13236
- status: ("unpaid" | "underpaid" | "overpaid" | "paid") | "coHost";
13283
+ /** @enum {string} */
13284
+ status: "unpaid" | "underpaid" | "overpaid" | "paid" | "coHost";
13237
13285
  };
13238
13286
  issues: ({
13239
13287
  /** @enum {string} */
@@ -13249,7 +13297,7 @@ export interface operations {
13249
13297
  /** @enum {string} */
13250
13298
  severity: "warning";
13251
13299
  context: {
13252
- startDate?: string | null;
13300
+ startDate: string | null;
13253
13301
  };
13254
13302
  } | {
13255
13303
  /** @enum {string} */
@@ -13257,7 +13305,7 @@ export interface operations {
13257
13305
  /** @enum {string} */
13258
13306
  severity: "warning";
13259
13307
  context: {
13260
- startDate?: string | null;
13308
+ startDate: string | null;
13261
13309
  };
13262
13310
  } | {
13263
13311
  /** @enum {string} */
@@ -13266,10 +13314,10 @@ export interface operations {
13266
13314
  severity: "warning";
13267
13315
  context: Record<string, never>;
13268
13316
  })[];
13269
- generalLedgerPostingAt?: string | null;
13317
+ generalLedgerPostingAt: string | null;
13270
13318
  };
13271
13319
  } | {
13272
- id?: string | null;
13320
+ id: string | null;
13273
13321
  /** @description Value in cents (100 = 1€) */
13274
13322
  total: number;
13275
13323
  section: string;
@@ -13294,7 +13342,7 @@ export interface operations {
13294
13342
  name: string;
13295
13343
  text: string;
13296
13344
  type: string;
13297
- value?: (number | string) | null;
13345
+ value: (number | string) | null;
13298
13346
  props?: {
13299
13347
  [key: string]: unknown;
13300
13348
  };
@@ -13302,7 +13350,7 @@ export interface operations {
13302
13350
  /** @enum {string} */
13303
13351
  type: "summary";
13304
13352
  source: {
13305
- id?: string | null;
13353
+ id: string | null;
13306
13354
  };
13307
13355
  })[];
13308
13356
  };
@@ -13369,11 +13417,6 @@ export interface operations {
13369
13417
  requestBody: {
13370
13418
  content: {
13371
13419
  "application/json": {
13372
- /**
13373
- * @default all
13374
- * @enum {string}
13375
- */
13376
- collectionMode?: "auto" | "all" | "currentMonthOnly";
13377
13420
  /** @enum {string} */
13378
13421
  status: "draft" | "inReview" | "void" | "published";
13379
13422
  /** @description If set, an email will be sent to each owner when the statement is published */
@@ -13392,7 +13435,7 @@ export interface operations {
13392
13435
  };
13393
13436
  content: {
13394
13437
  "application/json": {
13395
- id?: string | null;
13438
+ id: string | null;
13396
13439
  /** @description Value in cents (100 = 1€) */
13397
13440
  total: number;
13398
13441
  financials: {
@@ -13498,107 +13541,129 @@ export interface operations {
13498
13541
  listing: {
13499
13542
  id: string;
13500
13543
  name: string;
13501
- uniqueRef?: string | null;
13544
+ uniqueRef: string | null;
13502
13545
  };
13503
13546
  /** @enum {string} */
13504
- status: "draft" | "inReview" | "void" | "published";
13505
- ownership?: {
13547
+ status: "draft" | "inReview" | "void" | "published" | "preview";
13548
+ ownership: {
13506
13549
  id: string;
13507
13550
  startAt: string;
13508
- endAt?: string | null;
13551
+ endAt: string | null;
13509
13552
  members: {
13510
13553
  id: string;
13511
- ownerId?: string | null;
13512
- contactId?: string | null;
13554
+ ownerId: string | null;
13555
+ contactId: string | null;
13513
13556
  split: number;
13514
13557
  }[];
13515
13558
  } | null;
13516
13559
  layout: {
13560
+ id: string;
13517
13561
  name: string;
13518
- /** @enum {string|null} */
13519
- summaryType?: "default" | "invoice" | null;
13562
+ /**
13563
+ * @default default
13564
+ * @enum {string}
13565
+ */
13566
+ summaryType: "default" | "invoice";
13520
13567
  netRevenueSections: {
13521
13568
  id?: string | null;
13522
13569
  name: string;
13523
- locked?: boolean | null;
13524
- /** @enum {string|null} */
13525
- visible?: "all" | "manager" | "none" | null;
13526
- columns: ({
13570
+ /** @enum {string} */
13571
+ visible?: "all" | "manager" | "none";
13572
+ locked?: boolean;
13573
+ /** @default [] */
13574
+ columns: {
13527
13575
  id?: string | null;
13528
13576
  name: string;
13529
- locked?: boolean | null;
13530
- /** @enum {string|null} */
13531
- visible?: "all" | "manager" | "none" | null;
13577
+ type: string;
13578
+ value?: (string | number | string[] | number[] | {
13579
+ [key: string]: unknown;
13580
+ }) | null;
13532
13581
  /** @enum {string} */
13533
- type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
13534
- value: string;
13535
- } | {
13536
- id?: string | null;
13537
- name: string;
13538
- locked?: boolean | null;
13539
- /** @enum {string|null} */
13540
- visible?: "all" | "manager" | "none" | null;
13582
+ visible?: "all" | "manager" | "none";
13583
+ locked?: boolean;
13584
+ bold?: boolean;
13541
13585
  /** @enum {string} */
13542
- type: "accounts";
13543
- value: string[];
13544
- })[];
13586
+ align?: "left" | "right";
13587
+ hide?: boolean;
13588
+ props?: {
13589
+ [key: string]: unknown;
13590
+ };
13591
+ sectionId?: string | null;
13592
+ invert?: boolean;
13593
+ fees?: {
13594
+ [key: string]: unknown;
13595
+ };
13596
+ }[];
13545
13597
  }[];
13546
13598
  otherSections: {
13547
13599
  id?: string | null;
13548
13600
  name: string;
13549
- locked?: boolean | null;
13550
- /** @enum {string|null} */
13551
- visible?: "all" | "manager" | "none" | null;
13552
- columns: ({
13601
+ /** @enum {string} */
13602
+ visible?: "all" | "manager" | "none";
13603
+ locked?: boolean;
13604
+ /** @default [] */
13605
+ columns: {
13553
13606
  id?: string | null;
13554
13607
  name: string;
13555
- locked?: boolean | null;
13556
- /** @enum {string|null} */
13557
- visible?: "all" | "manager" | "none" | null;
13608
+ type: string;
13609
+ value?: (string | number | string[] | number[] | {
13610
+ [key: string]: unknown;
13611
+ }) | null;
13558
13612
  /** @enum {string} */
13559
- type: "field";
13560
- value: string;
13561
- } | {
13562
- id?: string | null;
13563
- name: string;
13564
- locked?: boolean | null;
13565
- /** @enum {string|null} */
13566
- visible?: "all" | "manager" | "none" | null;
13613
+ visible?: "all" | "manager" | "none";
13614
+ locked?: boolean;
13615
+ bold?: boolean;
13567
13616
  /** @enum {string} */
13568
- type: "accounts";
13569
- value: string[];
13570
- })[];
13617
+ align?: "left" | "right";
13618
+ hide?: boolean;
13619
+ props?: {
13620
+ [key: string]: unknown;
13621
+ };
13622
+ sectionId?: string | null;
13623
+ invert?: boolean;
13624
+ fees?: {
13625
+ [key: string]: unknown;
13626
+ };
13627
+ }[];
13571
13628
  }[];
13572
- id: string;
13573
13629
  systemSections: {
13574
13630
  id?: string | null;
13575
13631
  name: string;
13576
- locked?: boolean | null;
13577
- /** @enum {string|null} */
13578
- visible?: "all" | "manager" | "none" | null;
13579
- columns: ({
13632
+ /** @enum {string} */
13633
+ visible?: "all" | "manager" | "none";
13634
+ locked?: boolean;
13635
+ /** @default [] */
13636
+ columns: {
13580
13637
  id?: string | null;
13581
13638
  name: string;
13582
- locked?: boolean | null;
13583
- /** @enum {string|null} */
13584
- visible?: "all" | "manager" | "none" | null;
13639
+ type: string;
13640
+ value?: (string | number | string[] | number[] | {
13641
+ [key: string]: unknown;
13642
+ }) | null;
13585
13643
  /** @enum {string} */
13586
- type: "field";
13587
- value: string;
13588
- } | {
13589
- id?: string | null;
13590
- name: string;
13591
- locked?: boolean | null;
13592
- /** @enum {string|null} */
13593
- visible?: "all" | "manager" | "none" | null;
13644
+ visible?: "all" | "manager" | "none";
13645
+ locked?: boolean;
13646
+ bold?: boolean;
13594
13647
  /** @enum {string} */
13595
- type: "accounts";
13596
- value: string[];
13597
- })[];
13648
+ align?: "left" | "right";
13649
+ hide?: boolean;
13650
+ props?: {
13651
+ [key: string]: unknown;
13652
+ };
13653
+ sectionId?: string | null;
13654
+ invert?: boolean;
13655
+ fees?: {
13656
+ [key: string]: unknown;
13657
+ };
13658
+ }[];
13659
+ }[];
13660
+ activeListings?: {
13661
+ id: string;
13662
+ name: string;
13598
13663
  }[];
13599
13664
  };
13600
13665
  rows: ({
13601
- id?: string | null;
13666
+ id: string | null;
13602
13667
  /** @description Value in cents (100 = 1€) */
13603
13668
  total: number;
13604
13669
  section: string;
@@ -13623,7 +13688,7 @@ export interface operations {
13623
13688
  name: string;
13624
13689
  text: string;
13625
13690
  type: string;
13626
- value?: (number | string) | null;
13691
+ value: (number | string) | null;
13627
13692
  props?: {
13628
13693
  [key: string]: unknown;
13629
13694
  };
@@ -13635,12 +13700,12 @@ export interface operations {
13635
13700
  /** @enum {string} */
13636
13701
  type: "deposit" | "expense" | "transfer";
13637
13702
  description: string;
13638
- recurringFee?: {
13703
+ recurringFee: {
13639
13704
  id: string;
13640
13705
  } | null;
13641
13706
  };
13642
13707
  } | {
13643
- id?: string | null;
13708
+ id: string | null;
13644
13709
  /** @description Value in cents (100 = 1€) */
13645
13710
  total: number;
13646
13711
  section: string;
@@ -13665,7 +13730,7 @@ export interface operations {
13665
13730
  name: string;
13666
13731
  text: string;
13667
13732
  type: string;
13668
- value?: (number | string) | null;
13733
+ value: (number | string) | null;
13669
13734
  props?: {
13670
13735
  [key: string]: unknown;
13671
13736
  };
@@ -13673,19 +13738,21 @@ export interface operations {
13673
13738
  /** @enum {string} */
13674
13739
  type: "reservation";
13675
13740
  source: {
13676
- /** Format: uuid */
13677
13741
  id: string;
13678
- confirmationCode?: string | null;
13679
- pmsReferenceCode?: string | null;
13680
- guestName?: string | null;
13681
- checkIn?: string | null;
13682
- checkOut?: string | null;
13683
- nights?: number | null;
13684
- bookingPlatform?: string | null;
13742
+ confirmationCode: string | null;
13743
+ pmsReferenceCode: string | null;
13744
+ guestName: string | null;
13745
+ checkIn: string | null;
13746
+ checkOut: string | null;
13747
+ nights: number | null;
13748
+ bookingPlatform: string | null;
13749
+ channelName: string | null;
13750
+ channelUniqueRef: string | null;
13685
13751
  payment: {
13686
13752
  expected: number;
13687
13753
  received: number;
13688
- status: ("unpaid" | "underpaid" | "overpaid" | "paid") | "coHost";
13754
+ /** @enum {string} */
13755
+ status: "unpaid" | "underpaid" | "overpaid" | "paid" | "coHost";
13689
13756
  };
13690
13757
  issues: ({
13691
13758
  /** @enum {string} */
@@ -13701,7 +13768,7 @@ export interface operations {
13701
13768
  /** @enum {string} */
13702
13769
  severity: "warning";
13703
13770
  context: {
13704
- startDate?: string | null;
13771
+ startDate: string | null;
13705
13772
  };
13706
13773
  } | {
13707
13774
  /** @enum {string} */
@@ -13709,7 +13776,7 @@ export interface operations {
13709
13776
  /** @enum {string} */
13710
13777
  severity: "warning";
13711
13778
  context: {
13712
- startDate?: string | null;
13779
+ startDate: string | null;
13713
13780
  };
13714
13781
  } | {
13715
13782
  /** @enum {string} */
@@ -13718,10 +13785,10 @@ export interface operations {
13718
13785
  severity: "warning";
13719
13786
  context: Record<string, never>;
13720
13787
  })[];
13721
- generalLedgerPostingAt?: string | null;
13788
+ generalLedgerPostingAt: string | null;
13722
13789
  };
13723
13790
  } | {
13724
- id?: string | null;
13791
+ id: string | null;
13725
13792
  /** @description Value in cents (100 = 1€) */
13726
13793
  total: number;
13727
13794
  section: string;
@@ -13746,7 +13813,7 @@ export interface operations {
13746
13813
  name: string;
13747
13814
  text: string;
13748
13815
  type: string;
13749
- value?: (number | string) | null;
13816
+ value: (number | string) | null;
13750
13817
  props?: {
13751
13818
  [key: string]: unknown;
13752
13819
  };
@@ -13754,7 +13821,7 @@ export interface operations {
13754
13821
  /** @enum {string} */
13755
13822
  type: "summary";
13756
13823
  source: {
13757
- id?: string | null;
13824
+ id: string | null;
13758
13825
  };
13759
13826
  })[];
13760
13827
  /** Format: uuid */
@@ -13896,7 +13963,7 @@ export interface operations {
13896
13963
  /** @description Date in format YYYY-MM */
13897
13964
  month?: string;
13898
13965
  search?: string;
13899
- status?: "draft" | "inReview" | "void" | "published" | "all";
13966
+ status?: "draft" | "inReview" | "void" | "published";
13900
13967
  /** @description comma separated owners */
13901
13968
  ownerIds?: string;
13902
13969
  /** @description comma separated owners */
@@ -13920,7 +13987,7 @@ export interface operations {
13920
13987
  content: {
13921
13988
  "application/json": {
13922
13989
  data: {
13923
- id?: string | null;
13990
+ id: string | null;
13924
13991
  /** @description Value in cents (100 = 1€) */
13925
13992
  total: number;
13926
13993
  financials: {
@@ -14026,18 +14093,18 @@ export interface operations {
14026
14093
  listing: {
14027
14094
  id: string;
14028
14095
  name: string;
14029
- uniqueRef?: string | null;
14096
+ uniqueRef: string | null;
14030
14097
  };
14031
14098
  /** @enum {string} */
14032
- status: "preview" | "draft" | "inReview" | "void" | "published";
14033
- ownership?: {
14099
+ status: "draft" | "inReview" | "void" | "published" | "preview";
14100
+ ownership: {
14034
14101
  id: string;
14035
14102
  startAt: string;
14036
- endAt?: string | null;
14103
+ endAt: string | null;
14037
14104
  members: {
14038
14105
  id: string;
14039
- ownerId?: string | null;
14040
- contactId?: string | null;
14106
+ ownerId: string | null;
14107
+ contactId: string | null;
14041
14108
  split: number;
14042
14109
  }[];
14043
14110
  } | null;
@@ -14168,7 +14235,7 @@ export interface operations {
14168
14235
  content: {
14169
14236
  "application/json": {
14170
14237
  data: {
14171
- id?: string | null;
14238
+ id: string | null;
14172
14239
  /** @description Value in cents (100 = 1€) */
14173
14240
  total: number;
14174
14241
  financials: {
@@ -14274,107 +14341,129 @@ export interface operations {
14274
14341
  listing: {
14275
14342
  id: string;
14276
14343
  name: string;
14277
- uniqueRef?: string | null;
14344
+ uniqueRef: string | null;
14278
14345
  };
14279
14346
  /** @enum {string} */
14280
- status: "draft" | "inReview" | "void" | "published";
14281
- ownership?: {
14347
+ status: "draft" | "inReview" | "void" | "published" | "preview";
14348
+ ownership: {
14282
14349
  id: string;
14283
14350
  startAt: string;
14284
- endAt?: string | null;
14351
+ endAt: string | null;
14285
14352
  members: {
14286
14353
  id: string;
14287
- ownerId?: string | null;
14288
- contactId?: string | null;
14354
+ ownerId: string | null;
14355
+ contactId: string | null;
14289
14356
  split: number;
14290
14357
  }[];
14291
14358
  } | null;
14292
14359
  layout: {
14360
+ id: string;
14293
14361
  name: string;
14294
- /** @enum {string|null} */
14295
- summaryType?: "default" | "invoice" | null;
14362
+ /**
14363
+ * @default default
14364
+ * @enum {string}
14365
+ */
14366
+ summaryType: "default" | "invoice";
14296
14367
  netRevenueSections: {
14297
14368
  id?: string | null;
14298
14369
  name: string;
14299
- locked?: boolean | null;
14300
- /** @enum {string|null} */
14301
- visible?: "all" | "manager" | "none" | null;
14302
- columns: ({
14370
+ /** @enum {string} */
14371
+ visible?: "all" | "manager" | "none";
14372
+ locked?: boolean;
14373
+ /** @default [] */
14374
+ columns: {
14303
14375
  id?: string | null;
14304
14376
  name: string;
14305
- locked?: boolean | null;
14306
- /** @enum {string|null} */
14307
- visible?: "all" | "manager" | "none" | null;
14377
+ type: string;
14378
+ value?: (string | number | string[] | number[] | {
14379
+ [key: string]: unknown;
14380
+ }) | null;
14308
14381
  /** @enum {string} */
14309
- type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
14310
- value: string;
14311
- } | {
14312
- id?: string | null;
14313
- name: string;
14314
- locked?: boolean | null;
14315
- /** @enum {string|null} */
14316
- visible?: "all" | "manager" | "none" | null;
14382
+ visible?: "all" | "manager" | "none";
14383
+ locked?: boolean;
14384
+ bold?: boolean;
14317
14385
  /** @enum {string} */
14318
- type: "accounts";
14319
- value: string[];
14320
- })[];
14386
+ align?: "left" | "right";
14387
+ hide?: boolean;
14388
+ props?: {
14389
+ [key: string]: unknown;
14390
+ };
14391
+ sectionId?: string | null;
14392
+ invert?: boolean;
14393
+ fees?: {
14394
+ [key: string]: unknown;
14395
+ };
14396
+ }[];
14321
14397
  }[];
14322
14398
  otherSections: {
14323
14399
  id?: string | null;
14324
14400
  name: string;
14325
- locked?: boolean | null;
14326
- /** @enum {string|null} */
14327
- visible?: "all" | "manager" | "none" | null;
14328
- columns: ({
14401
+ /** @enum {string} */
14402
+ visible?: "all" | "manager" | "none";
14403
+ locked?: boolean;
14404
+ /** @default [] */
14405
+ columns: {
14329
14406
  id?: string | null;
14330
14407
  name: string;
14331
- locked?: boolean | null;
14332
- /** @enum {string|null} */
14333
- visible?: "all" | "manager" | "none" | null;
14408
+ type: string;
14409
+ value?: (string | number | string[] | number[] | {
14410
+ [key: string]: unknown;
14411
+ }) | null;
14334
14412
  /** @enum {string} */
14335
- type: "field";
14336
- value: string;
14337
- } | {
14338
- id?: string | null;
14339
- name: string;
14340
- locked?: boolean | null;
14341
- /** @enum {string|null} */
14342
- visible?: "all" | "manager" | "none" | null;
14413
+ visible?: "all" | "manager" | "none";
14414
+ locked?: boolean;
14415
+ bold?: boolean;
14343
14416
  /** @enum {string} */
14344
- type: "accounts";
14345
- value: string[];
14346
- })[];
14417
+ align?: "left" | "right";
14418
+ hide?: boolean;
14419
+ props?: {
14420
+ [key: string]: unknown;
14421
+ };
14422
+ sectionId?: string | null;
14423
+ invert?: boolean;
14424
+ fees?: {
14425
+ [key: string]: unknown;
14426
+ };
14427
+ }[];
14347
14428
  }[];
14348
- id: string;
14349
14429
  systemSections: {
14350
14430
  id?: string | null;
14351
14431
  name: string;
14352
- locked?: boolean | null;
14353
- /** @enum {string|null} */
14354
- visible?: "all" | "manager" | "none" | null;
14355
- columns: ({
14432
+ /** @enum {string} */
14433
+ visible?: "all" | "manager" | "none";
14434
+ locked?: boolean;
14435
+ /** @default [] */
14436
+ columns: {
14356
14437
  id?: string | null;
14357
14438
  name: string;
14358
- locked?: boolean | null;
14359
- /** @enum {string|null} */
14360
- visible?: "all" | "manager" | "none" | null;
14439
+ type: string;
14440
+ value?: (string | number | string[] | number[] | {
14441
+ [key: string]: unknown;
14442
+ }) | null;
14361
14443
  /** @enum {string} */
14362
- type: "field";
14363
- value: string;
14364
- } | {
14365
- id?: string | null;
14366
- name: string;
14367
- locked?: boolean | null;
14368
- /** @enum {string|null} */
14369
- visible?: "all" | "manager" | "none" | null;
14444
+ visible?: "all" | "manager" | "none";
14445
+ locked?: boolean;
14446
+ bold?: boolean;
14370
14447
  /** @enum {string} */
14371
- type: "accounts";
14372
- value: string[];
14373
- })[];
14448
+ align?: "left" | "right";
14449
+ hide?: boolean;
14450
+ props?: {
14451
+ [key: string]: unknown;
14452
+ };
14453
+ sectionId?: string | null;
14454
+ invert?: boolean;
14455
+ fees?: {
14456
+ [key: string]: unknown;
14457
+ };
14458
+ }[];
14459
+ }[];
14460
+ activeListings?: {
14461
+ id: string;
14462
+ name: string;
14374
14463
  }[];
14375
14464
  };
14376
14465
  rows: ({
14377
- id?: string | null;
14466
+ id: string | null;
14378
14467
  /** @description Value in cents (100 = 1€) */
14379
14468
  total: number;
14380
14469
  section: string;
@@ -14399,7 +14488,7 @@ export interface operations {
14399
14488
  name: string;
14400
14489
  text: string;
14401
14490
  type: string;
14402
- value?: (number | string) | null;
14491
+ value: (number | string) | null;
14403
14492
  props?: {
14404
14493
  [key: string]: unknown;
14405
14494
  };
@@ -14411,12 +14500,12 @@ export interface operations {
14411
14500
  /** @enum {string} */
14412
14501
  type: "deposit" | "expense" | "transfer";
14413
14502
  description: string;
14414
- recurringFee?: {
14503
+ recurringFee: {
14415
14504
  id: string;
14416
14505
  } | null;
14417
14506
  };
14418
14507
  } | {
14419
- id?: string | null;
14508
+ id: string | null;
14420
14509
  /** @description Value in cents (100 = 1€) */
14421
14510
  total: number;
14422
14511
  section: string;
@@ -14441,7 +14530,7 @@ export interface operations {
14441
14530
  name: string;
14442
14531
  text: string;
14443
14532
  type: string;
14444
- value?: (number | string) | null;
14533
+ value: (number | string) | null;
14445
14534
  props?: {
14446
14535
  [key: string]: unknown;
14447
14536
  };
@@ -14449,19 +14538,21 @@ export interface operations {
14449
14538
  /** @enum {string} */
14450
14539
  type: "reservation";
14451
14540
  source: {
14452
- /** Format: uuid */
14453
14541
  id: string;
14454
- confirmationCode?: string | null;
14455
- pmsReferenceCode?: string | null;
14456
- guestName?: string | null;
14457
- checkIn?: string | null;
14458
- checkOut?: string | null;
14459
- nights?: number | null;
14460
- bookingPlatform?: string | null;
14542
+ confirmationCode: string | null;
14543
+ pmsReferenceCode: string | null;
14544
+ guestName: string | null;
14545
+ checkIn: string | null;
14546
+ checkOut: string | null;
14547
+ nights: number | null;
14548
+ bookingPlatform: string | null;
14549
+ channelName: string | null;
14550
+ channelUniqueRef: string | null;
14461
14551
  payment: {
14462
14552
  expected: number;
14463
14553
  received: number;
14464
- status: ("unpaid" | "underpaid" | "overpaid" | "paid") | "coHost";
14554
+ /** @enum {string} */
14555
+ status: "unpaid" | "underpaid" | "overpaid" | "paid" | "coHost";
14465
14556
  };
14466
14557
  issues: ({
14467
14558
  /** @enum {string} */
@@ -14477,7 +14568,7 @@ export interface operations {
14477
14568
  /** @enum {string} */
14478
14569
  severity: "warning";
14479
14570
  context: {
14480
- startDate?: string | null;
14571
+ startDate: string | null;
14481
14572
  };
14482
14573
  } | {
14483
14574
  /** @enum {string} */
@@ -14485,7 +14576,7 @@ export interface operations {
14485
14576
  /** @enum {string} */
14486
14577
  severity: "warning";
14487
14578
  context: {
14488
- startDate?: string | null;
14579
+ startDate: string | null;
14489
14580
  };
14490
14581
  } | {
14491
14582
  /** @enum {string} */
@@ -14494,10 +14585,10 @@ export interface operations {
14494
14585
  severity: "warning";
14495
14586
  context: Record<string, never>;
14496
14587
  })[];
14497
- generalLedgerPostingAt?: string | null;
14588
+ generalLedgerPostingAt: string | null;
14498
14589
  };
14499
14590
  } | {
14500
- id?: string | null;
14591
+ id: string | null;
14501
14592
  /** @description Value in cents (100 = 1€) */
14502
14593
  total: number;
14503
14594
  section: string;
@@ -14522,7 +14613,7 @@ export interface operations {
14522
14613
  name: string;
14523
14614
  text: string;
14524
14615
  type: string;
14525
- value?: (number | string) | null;
14616
+ value: (number | string) | null;
14526
14617
  props?: {
14527
14618
  [key: string]: unknown;
14528
14619
  };
@@ -14530,11 +14621,9 @@ export interface operations {
14530
14621
  /** @enum {string} */
14531
14622
  type: "summary";
14532
14623
  source: {
14533
- id?: string | null;
14624
+ id: string | null;
14534
14625
  };
14535
14626
  })[];
14536
- /** Format: uuid */
14537
- syncId?: string | null;
14538
14627
  }[];
14539
14628
  };
14540
14629
  };