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