@vrplatform/api 1.3.1-4040 → 1.3.1-4050

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.
@@ -1058,6 +1058,41 @@ export interface paths {
1058
1058
  patch?: never;
1059
1059
  trace?: never;
1060
1060
  };
1061
+ "/general-ledger/historical": {
1062
+ parameters: {
1063
+ query?: never;
1064
+ header?: never;
1065
+ path?: never;
1066
+ cookie?: never;
1067
+ };
1068
+ get?: never;
1069
+ put?: never;
1070
+ /** @description Import historic general-ledger journal entries on the historical ledger; re-posting the same uniqueRef replaces that import */
1071
+ post: operations["postGeneralLedgerHistorical"];
1072
+ delete?: never;
1073
+ options?: never;
1074
+ head?: never;
1075
+ patch?: never;
1076
+ trace?: never;
1077
+ };
1078
+ "/general-ledger/opening-trial-balance": {
1079
+ parameters: {
1080
+ query?: never;
1081
+ header?: never;
1082
+ path?: never;
1083
+ cookie?: never;
1084
+ };
1085
+ /** @description Retrieve opening trial balance */
1086
+ get: operations["getGeneralLedgerOpeningTrialBalance"];
1087
+ /** @description Update opening trial balance */
1088
+ put: operations["putGeneralLedgerOpeningTrialBalance"];
1089
+ post?: never;
1090
+ delete?: never;
1091
+ options?: never;
1092
+ head?: never;
1093
+ patch?: never;
1094
+ trace?: never;
1095
+ };
1061
1096
  "/internal/booking-channels": {
1062
1097
  parameters: {
1063
1098
  query?: never;
@@ -3338,40 +3373,6 @@ export interface paths {
3338
3373
  patch?: never;
3339
3374
  trace?: never;
3340
3375
  };
3341
- "/teams/opening-trial-balance": {
3342
- parameters: {
3343
- query?: never;
3344
- header?: never;
3345
- path?: never;
3346
- cookie?: never;
3347
- };
3348
- /** @description Retrieve opening trial balance */
3349
- get: operations["getTeamsOpeningTrialBalance"];
3350
- put?: never;
3351
- post?: never;
3352
- delete?: never;
3353
- options?: never;
3354
- head?: never;
3355
- patch?: never;
3356
- trace?: never;
3357
- };
3358
- "/teams/opening-trial-balance/manual": {
3359
- parameters: {
3360
- query?: never;
3361
- header?: never;
3362
- path?: never;
3363
- cookie?: never;
3364
- };
3365
- get?: never;
3366
- /** @description Update manual opening trial balance */
3367
- put: operations["putTeamsOpeningTrialBalanceManual"];
3368
- post?: never;
3369
- delete?: never;
3370
- options?: never;
3371
- head?: never;
3372
- patch?: never;
3373
- trace?: never;
3374
- };
3375
3376
  "/teams/resolve": {
3376
3377
  parameters: {
3377
3378
  query?: never;
@@ -5113,7 +5114,7 @@ export interface operations {
5113
5114
  uniqueRef?: string | null;
5114
5115
  isOpeningBalance: boolean;
5115
5116
  /** @enum {string} */
5116
- type: "deposit" | "expense" | "transfer" | "payout";
5117
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
5117
5118
  date: string;
5118
5119
  lines: {
5119
5120
  uniqueRef?: string | null;
@@ -6846,7 +6847,7 @@ export interface operations {
6846
6847
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
6847
6848
  currency: string;
6848
6849
  /** @enum {string} */
6849
- type: "deposit" | "expense" | "transfer" | "payout";
6850
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
6850
6851
  isOpeningBalance: boolean;
6851
6852
  contact?: {
6852
6853
  /** Format: uuid */
@@ -6895,7 +6896,7 @@ export interface operations {
6895
6896
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
6896
6897
  currency: string;
6897
6898
  /** @enum {string} */
6898
- type: "deposit" | "expense" | "transfer" | "payout";
6899
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
6899
6900
  isOpeningBalance: boolean;
6900
6901
  contact?: {
6901
6902
  /** Format: uuid */
@@ -8219,7 +8220,7 @@ export interface operations {
8219
8220
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
8220
8221
  currency: string;
8221
8222
  /** @enum {string} */
8222
- type: "deposit" | "expense" | "transfer" | "payout";
8223
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
8223
8224
  isOpeningBalance: boolean;
8224
8225
  contact?: {
8225
8226
  /** Format: uuid */
@@ -8782,7 +8783,7 @@ export interface operations {
8782
8783
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
8783
8784
  currency: string;
8784
8785
  /** @enum {string} */
8785
- type: "deposit" | "expense" | "transfer" | "payout";
8786
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
8786
8787
  isOpeningBalance: boolean;
8787
8788
  contact?: {
8788
8789
  /** Format: uuid */
@@ -16735,124 +16736,7 @@ export interface operations {
16735
16736
  };
16736
16737
  };
16737
16738
  };
16738
- getInternalBookingChannels: {
16739
- parameters: {
16740
- query?: never;
16741
- header?: never;
16742
- path?: never;
16743
- cookie?: never;
16744
- };
16745
- requestBody?: never;
16746
- responses: {
16747
- /** @description Successful response */
16748
- 200: {
16749
- headers: {
16750
- [name: string]: unknown;
16751
- };
16752
- content: {
16753
- "application/json": {
16754
- data: {
16755
- /** Format: uuid */
16756
- id: string;
16757
- uniqueRef: string;
16758
- channelRef: string | null;
16759
- icon: string | null;
16760
- logo: string | null;
16761
- color: string | null;
16762
- iconProvider: ("cloudflare" | "logo_dev") | null;
16763
- logoProvider: ("cloudflare" | "logo_dev") | null;
16764
- lastGenerateRun: string | null;
16765
- usageCount: number;
16766
- iconCandidateCount: number;
16767
- selectedBookingChannelIconCandidateId: string | null;
16768
- selectedBookingChannelLogoCandidateId: string | null;
16769
- }[];
16770
- };
16771
- };
16772
- };
16773
- /** @description Bad request */
16774
- 400: {
16775
- headers: {
16776
- [name: string]: unknown;
16777
- };
16778
- content: {
16779
- "application/json": {
16780
- code: string;
16781
- message: string;
16782
- issues?: {
16783
- message: string;
16784
- }[];
16785
- context?: unknown;
16786
- };
16787
- };
16788
- };
16789
- /** @description Unauthorized */
16790
- 401: {
16791
- headers: {
16792
- [name: string]: unknown;
16793
- };
16794
- content: {
16795
- "application/json": {
16796
- code: string;
16797
- message: string;
16798
- issues?: {
16799
- message: string;
16800
- }[];
16801
- context?: unknown;
16802
- };
16803
- };
16804
- };
16805
- /** @description Forbidden */
16806
- 403: {
16807
- headers: {
16808
- [name: string]: unknown;
16809
- };
16810
- content: {
16811
- "application/json": {
16812
- code: string;
16813
- message: string;
16814
- issues?: {
16815
- message: string;
16816
- }[];
16817
- context?: unknown;
16818
- };
16819
- };
16820
- };
16821
- /** @description Not found */
16822
- 404: {
16823
- headers: {
16824
- [name: string]: unknown;
16825
- };
16826
- content: {
16827
- "application/json": {
16828
- code: string;
16829
- message: string;
16830
- issues?: {
16831
- message: string;
16832
- }[];
16833
- context?: unknown;
16834
- };
16835
- };
16836
- };
16837
- /** @description Internal server error */
16838
- 500: {
16839
- headers: {
16840
- [name: string]: unknown;
16841
- };
16842
- content: {
16843
- "application/json": {
16844
- code: string;
16845
- message: string;
16846
- issues?: {
16847
- message: string;
16848
- }[];
16849
- context?: unknown;
16850
- };
16851
- };
16852
- };
16853
- };
16854
- };
16855
- postInternalBookingChannelsBulkGenerateIconCandidates: {
16739
+ postGeneralLedgerHistorical: {
16856
16740
  parameters: {
16857
16741
  query?: never;
16858
16742
  header?: never;
@@ -16862,7 +16746,25 @@ export interface operations {
16862
16746
  requestBody?: {
16863
16747
  content: {
16864
16748
  "application/json": {
16865
- bookingChannelIds: string[];
16749
+ uniqueRef: string;
16750
+ description?: string | null;
16751
+ currency?: string | null;
16752
+ entries: {
16753
+ uniqueRef: string;
16754
+ date: string;
16755
+ description?: string | null;
16756
+ lines: {
16757
+ uniqueRef?: string | null;
16758
+ description?: string | null;
16759
+ /** Format: uuid */
16760
+ accountId: string;
16761
+ /** @description Value in cents (100 = 1€) */
16762
+ centTotal: number;
16763
+ listingId?: string | null;
16764
+ reservationId?: string | null;
16765
+ contactId?: string | null;
16766
+ }[];
16767
+ }[];
16866
16768
  };
16867
16769
  };
16868
16770
  };
@@ -16874,20 +16776,11 @@ export interface operations {
16874
16776
  };
16875
16777
  content: {
16876
16778
  "application/json": {
16877
- successes: {
16878
- /** Format: uuid */
16879
- bookingChannelId: string;
16880
- uniqueRef: string;
16881
- generatedCandidateCount: number;
16882
- }[];
16883
- failures: {
16884
- /** Format: uuid */
16885
- bookingChannelId: string;
16886
- uniqueRef: string | null;
16887
- investigatedHomepageUrl: string | null;
16888
- investigatedDomain: string | null;
16889
- error: string;
16890
- }[];
16779
+ uniqueRef: string;
16780
+ replaced: boolean;
16781
+ transactionCount: number;
16782
+ journalEntryCount: number;
16783
+ transactionIds: string[];
16891
16784
  };
16892
16785
  };
16893
16786
  };
@@ -16973,24 +16866,14 @@ export interface operations {
16973
16866
  };
16974
16867
  };
16975
16868
  };
16976
- postInternalBookingChannelsBulkSetAssets: {
16869
+ getGeneralLedgerOpeningTrialBalance: {
16977
16870
  parameters: {
16978
16871
  query?: never;
16979
16872
  header?: never;
16980
16873
  path?: never;
16981
16874
  cookie?: never;
16982
16875
  };
16983
- requestBody?: {
16984
- content: {
16985
- "application/json": {
16986
- /** Format: uuid */
16987
- sourceBookingChannelId: string;
16988
- targetBookingChannelIds: string[];
16989
- /** @enum {string} */
16990
- type: "icon" | "logo";
16991
- };
16992
- };
16993
- };
16876
+ requestBody?: never;
16994
16877
  responses: {
16995
16878
  /** @description Successful response */
16996
16879
  200: {
@@ -16999,19 +16882,51 @@ export interface operations {
16999
16882
  };
17000
16883
  content: {
17001
16884
  "application/json": {
17002
- /** Format: uuid */
17003
- sourceBookingChannelId: string;
17004
- /** @enum {string} */
17005
- type: "icon" | "logo";
17006
- successes: {
16885
+ glStartAt: string;
16886
+ openingDate: string;
16887
+ source: {
16888
+ /** @enum {string} */
16889
+ mode: "manual" | "csv" | "quickbooks" | "none";
16890
+ editable: boolean;
16891
+ lastUpdatedAt?: string | null;
17007
16892
  /** Format: uuid */
17008
- bookingChannelId: string;
17009
- }[];
17010
- failures: {
16893
+ externalConnectionId?: string;
16894
+ };
16895
+ locked: boolean;
16896
+ lockReasons: string[];
16897
+ rows: {
17011
16898
  /** Format: uuid */
17012
- bookingChannelId: string;
17013
- error: string;
16899
+ accountId: string;
16900
+ accountName: string;
16901
+ /** @enum {string} */
16902
+ classification: "asset" | "liability" | "revenue" | "expense";
16903
+ /** @enum {string} */
16904
+ type: "ledger" | "bank";
16905
+ /** @description Value in cents (100 = 1€) */
16906
+ combinedCentTotal: number;
16907
+ /** @description Value in cents (100 = 1€) */
16908
+ trustCentTotal: number;
16909
+ /** @description Value in cents (100 = 1€) */
16910
+ operatingCentTotal: number;
16911
+ editable: boolean;
17014
16912
  }[];
16913
+ assignment: {
16914
+ /** Format: uuid */
16915
+ accountId: string;
16916
+ accountName: string;
16917
+ /** @description Value in cents (100 = 1€) */
16918
+ combinedCentTotal: number;
16919
+ /** @description Value in cents (100 = 1€) */
16920
+ trustCentTotal: number;
16921
+ /** @description Value in cents (100 = 1€) */
16922
+ operatingCentTotal: number;
16923
+ };
16924
+ trustReversal: {
16925
+ /** @enum {string} */
16926
+ status: "not_created" | "active" | "locked";
16927
+ journalEntryIds: string[];
16928
+ lastRefreshedAt?: string | null;
16929
+ };
17015
16930
  };
17016
16931
  };
17017
16932
  };
@@ -17097,7 +17012,7 @@ export interface operations {
17097
17012
  };
17098
17013
  };
17099
17014
  };
17100
- postInternalBookingChannelsGenerateIconCandidates: {
17015
+ putGeneralLedgerOpeningTrialBalance: {
17101
17016
  parameters: {
17102
17017
  query?: never;
17103
17018
  header?: never;
@@ -17107,8 +17022,12 @@ export interface operations {
17107
17022
  requestBody?: {
17108
17023
  content: {
17109
17024
  "application/json": {
17110
- uniqueRef: string;
17111
- domain?: string | null;
17025
+ rows: {
17026
+ /** Format: uuid */
17027
+ accountId: string;
17028
+ /** @description Value in cents (100 = 1€) */
17029
+ combinedCentTotal: number;
17030
+ }[];
17112
17031
  };
17113
17032
  };
17114
17033
  };
@@ -17120,40 +17039,51 @@ export interface operations {
17120
17039
  };
17121
17040
  content: {
17122
17041
  "application/json": {
17123
- /** Format: uuid */
17124
- bookingChannelId: string;
17125
- uniqueRef: string;
17126
- channelRef: string | null;
17127
- candidates: {
17042
+ glStartAt: string;
17043
+ openingDate: string;
17044
+ source: {
17045
+ /** @enum {string} */
17046
+ mode: "manual" | "csv" | "quickbooks" | "none";
17047
+ editable: boolean;
17048
+ lastUpdatedAt?: string | null;
17128
17049
  /** Format: uuid */
17129
- id: string;
17050
+ externalConnectionId?: string;
17051
+ };
17052
+ locked: boolean;
17053
+ lockReasons: string[];
17054
+ rows: {
17130
17055
  /** Format: uuid */
17131
- bookingChannelId: string;
17056
+ accountId: string;
17057
+ accountName: string;
17132
17058
  /** @enum {string} */
17133
- provider: "cloudflare" | "logo_dev";
17134
- cloudflareImageId: string | null;
17135
- icon: string | null;
17136
- width: number | null;
17137
- height: number | null;
17138
- color: string | null;
17139
- source: string | null;
17140
- comment: string | null;
17141
- isSelected: boolean;
17142
- isSelectedForIcon: boolean;
17143
- isSelectedForLogo: boolean;
17144
- /**
17145
- * Format: date-time
17146
- * @description Timestamp string with date, time, milliseconds, and timezone.
17147
- * @example 2024-01-15T12:30:00.000+00:00
17148
- */
17149
- createdAt: string;
17150
- /**
17151
- * Format: date-time
17152
- * @description Timestamp string with date, time, milliseconds, and timezone.
17153
- * @example 2024-01-15T12:30:00.000+00:00
17154
- */
17155
- updatedAt: string;
17059
+ classification: "asset" | "liability" | "revenue" | "expense";
17060
+ /** @enum {string} */
17061
+ type: "ledger" | "bank";
17062
+ /** @description Value in cents (100 = 1€) */
17063
+ combinedCentTotal: number;
17064
+ /** @description Value in cents (100 = 1€) */
17065
+ trustCentTotal: number;
17066
+ /** @description Value in cents (100 = 1€) */
17067
+ operatingCentTotal: number;
17068
+ editable: boolean;
17156
17069
  }[];
17070
+ assignment: {
17071
+ /** Format: uuid */
17072
+ accountId: string;
17073
+ accountName: string;
17074
+ /** @description Value in cents (100 = 1€) */
17075
+ combinedCentTotal: number;
17076
+ /** @description Value in cents (100 = 1€) */
17077
+ trustCentTotal: number;
17078
+ /** @description Value in cents (100 = 1€) */
17079
+ operatingCentTotal: number;
17080
+ };
17081
+ trustReversal: {
17082
+ /** @enum {string} */
17083
+ status: "not_created" | "active" | "locked";
17084
+ journalEntryIds: string[];
17085
+ lastRefreshedAt?: string | null;
17086
+ };
17157
17087
  };
17158
17088
  };
17159
17089
  };
@@ -17239,13 +17169,11 @@ export interface operations {
17239
17169
  };
17240
17170
  };
17241
17171
  };
17242
- getInternalBookingChannelsByBookingChannelIdIconCandidates: {
17172
+ getInternalBookingChannels: {
17243
17173
  parameters: {
17244
17174
  query?: never;
17245
17175
  header?: never;
17246
- path: {
17247
- bookingChannelId: string;
17248
- };
17176
+ path?: never;
17249
17177
  cookie?: never;
17250
17178
  };
17251
17179
  requestBody?: never;
@@ -17260,32 +17188,18 @@ export interface operations {
17260
17188
  data: {
17261
17189
  /** Format: uuid */
17262
17190
  id: string;
17263
- /** Format: uuid */
17264
- bookingChannelId: string;
17265
- /** @enum {string} */
17266
- provider: "cloudflare" | "logo_dev";
17267
- cloudflareImageId: string | null;
17191
+ uniqueRef: string;
17192
+ channelRef: string | null;
17268
17193
  icon: string | null;
17269
- width: number | null;
17270
- height: number | null;
17194
+ logo: string | null;
17271
17195
  color: string | null;
17272
- source: string | null;
17273
- comment: string | null;
17274
- isSelected: boolean;
17275
- isSelectedForIcon: boolean;
17276
- isSelectedForLogo: boolean;
17277
- /**
17278
- * Format: date-time
17279
- * @description Timestamp string with date, time, milliseconds, and timezone.
17280
- * @example 2024-01-15T12:30:00.000+00:00
17281
- */
17282
- createdAt: string;
17283
- /**
17284
- * Format: date-time
17285
- * @description Timestamp string with date, time, milliseconds, and timezone.
17286
- * @example 2024-01-15T12:30:00.000+00:00
17287
- */
17288
- updatedAt: string;
17196
+ iconProvider: ("cloudflare" | "logo_dev") | null;
17197
+ logoProvider: ("cloudflare" | "logo_dev") | null;
17198
+ lastGenerateRun: string | null;
17199
+ usageCount: number;
17200
+ iconCandidateCount: number;
17201
+ selectedBookingChannelIconCandidateId: string | null;
17202
+ selectedBookingChannelLogoCandidateId: string | null;
17289
17203
  }[];
17290
17204
  };
17291
17205
  };
@@ -17372,16 +17286,20 @@ export interface operations {
17372
17286
  };
17373
17287
  };
17374
17288
  };
17375
- postInternalBookingChannelsByBookingChannelIdIconCandidates: {
17289
+ postInternalBookingChannelsBulkGenerateIconCandidates: {
17376
17290
  parameters: {
17377
17291
  query?: never;
17378
17292
  header?: never;
17379
- path: {
17380
- bookingChannelId: string;
17381
- };
17293
+ path?: never;
17382
17294
  cookie?: never;
17383
17295
  };
17384
- requestBody?: never;
17296
+ requestBody?: {
17297
+ content: {
17298
+ "application/json": {
17299
+ bookingChannelIds: string[];
17300
+ };
17301
+ };
17302
+ };
17385
17303
  responses: {
17386
17304
  /** @description Successful response */
17387
17305
  200: {
@@ -17390,34 +17308,20 @@ export interface operations {
17390
17308
  };
17391
17309
  content: {
17392
17310
  "application/json": {
17393
- /** Format: uuid */
17394
- id: string;
17395
- /** Format: uuid */
17396
- bookingChannelId: string;
17397
- /** @enum {string} */
17398
- provider: "cloudflare" | "logo_dev";
17399
- cloudflareImageId: string | null;
17400
- icon: string | null;
17401
- width: number | null;
17402
- height: number | null;
17403
- color: string | null;
17404
- source: string | null;
17405
- comment: string | null;
17406
- isSelected: boolean;
17407
- isSelectedForIcon: boolean;
17408
- isSelectedForLogo: boolean;
17409
- /**
17410
- * Format: date-time
17411
- * @description Timestamp string with date, time, milliseconds, and timezone.
17412
- * @example 2024-01-15T12:30:00.000+00:00
17413
- */
17414
- createdAt: string;
17415
- /**
17416
- * Format: date-time
17417
- * @description Timestamp string with date, time, milliseconds, and timezone.
17418
- * @example 2024-01-15T12:30:00.000+00:00
17419
- */
17420
- updatedAt: string;
17311
+ successes: {
17312
+ /** Format: uuid */
17313
+ bookingChannelId: string;
17314
+ uniqueRef: string;
17315
+ generatedCandidateCount: number;
17316
+ }[];
17317
+ failures: {
17318
+ /** Format: uuid */
17319
+ bookingChannelId: string;
17320
+ uniqueRef: string | null;
17321
+ investigatedHomepageUrl: string | null;
17322
+ investigatedDomain: string | null;
17323
+ error: string;
17324
+ }[];
17421
17325
  };
17422
17326
  };
17423
17327
  };
@@ -17503,19 +17407,22 @@ export interface operations {
17503
17407
  };
17504
17408
  };
17505
17409
  };
17506
- deleteInternalBookingChannelsByBookingChannelIdIconCandidatesByCandidateId: {
17410
+ postInternalBookingChannelsBulkSetAssets: {
17507
17411
  parameters: {
17508
17412
  query?: never;
17509
17413
  header?: never;
17510
- path: {
17511
- bookingChannelId: string;
17512
- candidateId: string;
17513
- };
17414
+ path?: never;
17514
17415
  cookie?: never;
17515
17416
  };
17516
17417
  requestBody?: {
17517
17418
  content: {
17518
- "application/json": Record<string, never>;
17419
+ "application/json": {
17420
+ /** Format: uuid */
17421
+ sourceBookingChannelId: string;
17422
+ targetBookingChannelIds: string[];
17423
+ /** @enum {string} */
17424
+ type: "icon" | "logo";
17425
+ };
17519
17426
  };
17520
17427
  };
17521
17428
  responses: {
@@ -17527,17 +17434,18 @@ export interface operations {
17527
17434
  content: {
17528
17435
  "application/json": {
17529
17436
  /** Format: uuid */
17530
- id: string;
17531
- uniqueRef: string;
17532
- channelRef: string | null;
17533
- icon: string | null;
17534
- logo: string | null;
17535
- color: string | null;
17536
- iconProvider: ("cloudflare" | "logo_dev") | null;
17537
- logoProvider: ("cloudflare" | "logo_dev") | null;
17538
- selectedBookingChannelIconCandidateId: string | null;
17539
- selectedBookingChannelLogoCandidateId: string | null;
17540
- candidateCount: number;
17437
+ sourceBookingChannelId: string;
17438
+ /** @enum {string} */
17439
+ type: "icon" | "logo";
17440
+ successes: {
17441
+ /** Format: uuid */
17442
+ bookingChannelId: string;
17443
+ }[];
17444
+ failures: {
17445
+ /** Format: uuid */
17446
+ bookingChannelId: string;
17447
+ error: string;
17448
+ }[];
17541
17449
  };
17542
17450
  };
17543
17451
  };
@@ -17623,20 +17531,18 @@ export interface operations {
17623
17531
  };
17624
17532
  };
17625
17533
  };
17626
- patchInternalBookingChannelsByBookingChannelIdIconCandidatesByCandidateId: {
17534
+ postInternalBookingChannelsGenerateIconCandidates: {
17627
17535
  parameters: {
17628
17536
  query?: never;
17629
17537
  header?: never;
17630
- path: {
17631
- bookingChannelId: string;
17632
- candidateId: string;
17633
- };
17538
+ path?: never;
17634
17539
  cookie?: never;
17635
17540
  };
17636
17541
  requestBody?: {
17637
17542
  content: {
17638
17543
  "application/json": {
17639
- comment: string | null;
17544
+ uniqueRef: string;
17545
+ domain?: string | null;
17640
17546
  };
17641
17547
  };
17642
17548
  };
@@ -17648,34 +17554,562 @@ export interface operations {
17648
17554
  };
17649
17555
  content: {
17650
17556
  "application/json": {
17651
- /** Format: uuid */
17652
- id: string;
17653
17557
  /** Format: uuid */
17654
17558
  bookingChannelId: string;
17655
- /** @enum {string} */
17656
- provider: "cloudflare" | "logo_dev";
17657
- cloudflareImageId: string | null;
17658
- icon: string | null;
17659
- width: number | null;
17660
- height: number | null;
17661
- color: string | null;
17662
- source: string | null;
17663
- comment: string | null;
17664
- isSelected: boolean;
17665
- isSelectedForIcon: boolean;
17666
- isSelectedForLogo: boolean;
17667
- /**
17668
- * Format: date-time
17669
- * @description Timestamp string with date, time, milliseconds, and timezone.
17670
- * @example 2024-01-15T12:30:00.000+00:00
17671
- */
17672
- createdAt: string;
17673
- /**
17674
- * Format: date-time
17675
- * @description Timestamp string with date, time, milliseconds, and timezone.
17676
- * @example 2024-01-15T12:30:00.000+00:00
17677
- */
17678
- updatedAt: string;
17559
+ uniqueRef: string;
17560
+ channelRef: string | null;
17561
+ candidates: {
17562
+ /** Format: uuid */
17563
+ id: string;
17564
+ /** Format: uuid */
17565
+ bookingChannelId: string;
17566
+ /** @enum {string} */
17567
+ provider: "cloudflare" | "logo_dev";
17568
+ cloudflareImageId: string | null;
17569
+ icon: string | null;
17570
+ width: number | null;
17571
+ height: number | null;
17572
+ color: string | null;
17573
+ source: string | null;
17574
+ comment: string | null;
17575
+ isSelected: boolean;
17576
+ isSelectedForIcon: boolean;
17577
+ isSelectedForLogo: boolean;
17578
+ /**
17579
+ * Format: date-time
17580
+ * @description Timestamp string with date, time, milliseconds, and timezone.
17581
+ * @example 2024-01-15T12:30:00.000+00:00
17582
+ */
17583
+ createdAt: string;
17584
+ /**
17585
+ * Format: date-time
17586
+ * @description Timestamp string with date, time, milliseconds, and timezone.
17587
+ * @example 2024-01-15T12:30:00.000+00:00
17588
+ */
17589
+ updatedAt: string;
17590
+ }[];
17591
+ };
17592
+ };
17593
+ };
17594
+ /** @description Bad request */
17595
+ 400: {
17596
+ headers: {
17597
+ [name: string]: unknown;
17598
+ };
17599
+ content: {
17600
+ "application/json": {
17601
+ code: string;
17602
+ message: string;
17603
+ issues?: {
17604
+ message: string;
17605
+ }[];
17606
+ context?: unknown;
17607
+ };
17608
+ };
17609
+ };
17610
+ /** @description Unauthorized */
17611
+ 401: {
17612
+ headers: {
17613
+ [name: string]: unknown;
17614
+ };
17615
+ content: {
17616
+ "application/json": {
17617
+ code: string;
17618
+ message: string;
17619
+ issues?: {
17620
+ message: string;
17621
+ }[];
17622
+ context?: unknown;
17623
+ };
17624
+ };
17625
+ };
17626
+ /** @description Forbidden */
17627
+ 403: {
17628
+ headers: {
17629
+ [name: string]: unknown;
17630
+ };
17631
+ content: {
17632
+ "application/json": {
17633
+ code: string;
17634
+ message: string;
17635
+ issues?: {
17636
+ message: string;
17637
+ }[];
17638
+ context?: unknown;
17639
+ };
17640
+ };
17641
+ };
17642
+ /** @description Not found */
17643
+ 404: {
17644
+ headers: {
17645
+ [name: string]: unknown;
17646
+ };
17647
+ content: {
17648
+ "application/json": {
17649
+ code: string;
17650
+ message: string;
17651
+ issues?: {
17652
+ message: string;
17653
+ }[];
17654
+ context?: unknown;
17655
+ };
17656
+ };
17657
+ };
17658
+ /** @description Internal server error */
17659
+ 500: {
17660
+ headers: {
17661
+ [name: string]: unknown;
17662
+ };
17663
+ content: {
17664
+ "application/json": {
17665
+ code: string;
17666
+ message: string;
17667
+ issues?: {
17668
+ message: string;
17669
+ }[];
17670
+ context?: unknown;
17671
+ };
17672
+ };
17673
+ };
17674
+ };
17675
+ };
17676
+ getInternalBookingChannelsByBookingChannelIdIconCandidates: {
17677
+ parameters: {
17678
+ query?: never;
17679
+ header?: never;
17680
+ path: {
17681
+ bookingChannelId: string;
17682
+ };
17683
+ cookie?: never;
17684
+ };
17685
+ requestBody?: never;
17686
+ responses: {
17687
+ /** @description Successful response */
17688
+ 200: {
17689
+ headers: {
17690
+ [name: string]: unknown;
17691
+ };
17692
+ content: {
17693
+ "application/json": {
17694
+ data: {
17695
+ /** Format: uuid */
17696
+ id: string;
17697
+ /** Format: uuid */
17698
+ bookingChannelId: string;
17699
+ /** @enum {string} */
17700
+ provider: "cloudflare" | "logo_dev";
17701
+ cloudflareImageId: string | null;
17702
+ icon: string | null;
17703
+ width: number | null;
17704
+ height: number | null;
17705
+ color: string | null;
17706
+ source: string | null;
17707
+ comment: string | null;
17708
+ isSelected: boolean;
17709
+ isSelectedForIcon: boolean;
17710
+ isSelectedForLogo: boolean;
17711
+ /**
17712
+ * Format: date-time
17713
+ * @description Timestamp string with date, time, milliseconds, and timezone.
17714
+ * @example 2024-01-15T12:30:00.000+00:00
17715
+ */
17716
+ createdAt: string;
17717
+ /**
17718
+ * Format: date-time
17719
+ * @description Timestamp string with date, time, milliseconds, and timezone.
17720
+ * @example 2024-01-15T12:30:00.000+00:00
17721
+ */
17722
+ updatedAt: string;
17723
+ }[];
17724
+ };
17725
+ };
17726
+ };
17727
+ /** @description Bad request */
17728
+ 400: {
17729
+ headers: {
17730
+ [name: string]: unknown;
17731
+ };
17732
+ content: {
17733
+ "application/json": {
17734
+ code: string;
17735
+ message: string;
17736
+ issues?: {
17737
+ message: string;
17738
+ }[];
17739
+ context?: unknown;
17740
+ };
17741
+ };
17742
+ };
17743
+ /** @description Unauthorized */
17744
+ 401: {
17745
+ headers: {
17746
+ [name: string]: unknown;
17747
+ };
17748
+ content: {
17749
+ "application/json": {
17750
+ code: string;
17751
+ message: string;
17752
+ issues?: {
17753
+ message: string;
17754
+ }[];
17755
+ context?: unknown;
17756
+ };
17757
+ };
17758
+ };
17759
+ /** @description Forbidden */
17760
+ 403: {
17761
+ headers: {
17762
+ [name: string]: unknown;
17763
+ };
17764
+ content: {
17765
+ "application/json": {
17766
+ code: string;
17767
+ message: string;
17768
+ issues?: {
17769
+ message: string;
17770
+ }[];
17771
+ context?: unknown;
17772
+ };
17773
+ };
17774
+ };
17775
+ /** @description Not found */
17776
+ 404: {
17777
+ headers: {
17778
+ [name: string]: unknown;
17779
+ };
17780
+ content: {
17781
+ "application/json": {
17782
+ code: string;
17783
+ message: string;
17784
+ issues?: {
17785
+ message: string;
17786
+ }[];
17787
+ context?: unknown;
17788
+ };
17789
+ };
17790
+ };
17791
+ /** @description Internal server error */
17792
+ 500: {
17793
+ headers: {
17794
+ [name: string]: unknown;
17795
+ };
17796
+ content: {
17797
+ "application/json": {
17798
+ code: string;
17799
+ message: string;
17800
+ issues?: {
17801
+ message: string;
17802
+ }[];
17803
+ context?: unknown;
17804
+ };
17805
+ };
17806
+ };
17807
+ };
17808
+ };
17809
+ postInternalBookingChannelsByBookingChannelIdIconCandidates: {
17810
+ parameters: {
17811
+ query?: never;
17812
+ header?: never;
17813
+ path: {
17814
+ bookingChannelId: string;
17815
+ };
17816
+ cookie?: never;
17817
+ };
17818
+ requestBody?: never;
17819
+ responses: {
17820
+ /** @description Successful response */
17821
+ 200: {
17822
+ headers: {
17823
+ [name: string]: unknown;
17824
+ };
17825
+ content: {
17826
+ "application/json": {
17827
+ /** Format: uuid */
17828
+ id: string;
17829
+ /** Format: uuid */
17830
+ bookingChannelId: string;
17831
+ /** @enum {string} */
17832
+ provider: "cloudflare" | "logo_dev";
17833
+ cloudflareImageId: string | null;
17834
+ icon: string | null;
17835
+ width: number | null;
17836
+ height: number | null;
17837
+ color: string | null;
17838
+ source: string | null;
17839
+ comment: string | null;
17840
+ isSelected: boolean;
17841
+ isSelectedForIcon: boolean;
17842
+ isSelectedForLogo: boolean;
17843
+ /**
17844
+ * Format: date-time
17845
+ * @description Timestamp string with date, time, milliseconds, and timezone.
17846
+ * @example 2024-01-15T12:30:00.000+00:00
17847
+ */
17848
+ createdAt: string;
17849
+ /**
17850
+ * Format: date-time
17851
+ * @description Timestamp string with date, time, milliseconds, and timezone.
17852
+ * @example 2024-01-15T12:30:00.000+00:00
17853
+ */
17854
+ updatedAt: string;
17855
+ };
17856
+ };
17857
+ };
17858
+ /** @description Bad request */
17859
+ 400: {
17860
+ headers: {
17861
+ [name: string]: unknown;
17862
+ };
17863
+ content: {
17864
+ "application/json": {
17865
+ code: string;
17866
+ message: string;
17867
+ issues?: {
17868
+ message: string;
17869
+ }[];
17870
+ context?: unknown;
17871
+ };
17872
+ };
17873
+ };
17874
+ /** @description Unauthorized */
17875
+ 401: {
17876
+ headers: {
17877
+ [name: string]: unknown;
17878
+ };
17879
+ content: {
17880
+ "application/json": {
17881
+ code: string;
17882
+ message: string;
17883
+ issues?: {
17884
+ message: string;
17885
+ }[];
17886
+ context?: unknown;
17887
+ };
17888
+ };
17889
+ };
17890
+ /** @description Forbidden */
17891
+ 403: {
17892
+ headers: {
17893
+ [name: string]: unknown;
17894
+ };
17895
+ content: {
17896
+ "application/json": {
17897
+ code: string;
17898
+ message: string;
17899
+ issues?: {
17900
+ message: string;
17901
+ }[];
17902
+ context?: unknown;
17903
+ };
17904
+ };
17905
+ };
17906
+ /** @description Not found */
17907
+ 404: {
17908
+ headers: {
17909
+ [name: string]: unknown;
17910
+ };
17911
+ content: {
17912
+ "application/json": {
17913
+ code: string;
17914
+ message: string;
17915
+ issues?: {
17916
+ message: string;
17917
+ }[];
17918
+ context?: unknown;
17919
+ };
17920
+ };
17921
+ };
17922
+ /** @description Internal server error */
17923
+ 500: {
17924
+ headers: {
17925
+ [name: string]: unknown;
17926
+ };
17927
+ content: {
17928
+ "application/json": {
17929
+ code: string;
17930
+ message: string;
17931
+ issues?: {
17932
+ message: string;
17933
+ }[];
17934
+ context?: unknown;
17935
+ };
17936
+ };
17937
+ };
17938
+ };
17939
+ };
17940
+ deleteInternalBookingChannelsByBookingChannelIdIconCandidatesByCandidateId: {
17941
+ parameters: {
17942
+ query?: never;
17943
+ header?: never;
17944
+ path: {
17945
+ bookingChannelId: string;
17946
+ candidateId: string;
17947
+ };
17948
+ cookie?: never;
17949
+ };
17950
+ requestBody?: {
17951
+ content: {
17952
+ "application/json": Record<string, never>;
17953
+ };
17954
+ };
17955
+ responses: {
17956
+ /** @description Successful response */
17957
+ 200: {
17958
+ headers: {
17959
+ [name: string]: unknown;
17960
+ };
17961
+ content: {
17962
+ "application/json": {
17963
+ /** Format: uuid */
17964
+ id: string;
17965
+ uniqueRef: string;
17966
+ channelRef: string | null;
17967
+ icon: string | null;
17968
+ logo: string | null;
17969
+ color: string | null;
17970
+ iconProvider: ("cloudflare" | "logo_dev") | null;
17971
+ logoProvider: ("cloudflare" | "logo_dev") | null;
17972
+ selectedBookingChannelIconCandidateId: string | null;
17973
+ selectedBookingChannelLogoCandidateId: string | null;
17974
+ candidateCount: number;
17975
+ };
17976
+ };
17977
+ };
17978
+ /** @description Bad request */
17979
+ 400: {
17980
+ headers: {
17981
+ [name: string]: unknown;
17982
+ };
17983
+ content: {
17984
+ "application/json": {
17985
+ code: string;
17986
+ message: string;
17987
+ issues?: {
17988
+ message: string;
17989
+ }[];
17990
+ context?: unknown;
17991
+ };
17992
+ };
17993
+ };
17994
+ /** @description Unauthorized */
17995
+ 401: {
17996
+ headers: {
17997
+ [name: string]: unknown;
17998
+ };
17999
+ content: {
18000
+ "application/json": {
18001
+ code: string;
18002
+ message: string;
18003
+ issues?: {
18004
+ message: string;
18005
+ }[];
18006
+ context?: unknown;
18007
+ };
18008
+ };
18009
+ };
18010
+ /** @description Forbidden */
18011
+ 403: {
18012
+ headers: {
18013
+ [name: string]: unknown;
18014
+ };
18015
+ content: {
18016
+ "application/json": {
18017
+ code: string;
18018
+ message: string;
18019
+ issues?: {
18020
+ message: string;
18021
+ }[];
18022
+ context?: unknown;
18023
+ };
18024
+ };
18025
+ };
18026
+ /** @description Not found */
18027
+ 404: {
18028
+ headers: {
18029
+ [name: string]: unknown;
18030
+ };
18031
+ content: {
18032
+ "application/json": {
18033
+ code: string;
18034
+ message: string;
18035
+ issues?: {
18036
+ message: string;
18037
+ }[];
18038
+ context?: unknown;
18039
+ };
18040
+ };
18041
+ };
18042
+ /** @description Internal server error */
18043
+ 500: {
18044
+ headers: {
18045
+ [name: string]: unknown;
18046
+ };
18047
+ content: {
18048
+ "application/json": {
18049
+ code: string;
18050
+ message: string;
18051
+ issues?: {
18052
+ message: string;
18053
+ }[];
18054
+ context?: unknown;
18055
+ };
18056
+ };
18057
+ };
18058
+ };
18059
+ };
18060
+ patchInternalBookingChannelsByBookingChannelIdIconCandidatesByCandidateId: {
18061
+ parameters: {
18062
+ query?: never;
18063
+ header?: never;
18064
+ path: {
18065
+ bookingChannelId: string;
18066
+ candidateId: string;
18067
+ };
18068
+ cookie?: never;
18069
+ };
18070
+ requestBody?: {
18071
+ content: {
18072
+ "application/json": {
18073
+ comment: string | null;
18074
+ };
18075
+ };
18076
+ };
18077
+ responses: {
18078
+ /** @description Successful response */
18079
+ 200: {
18080
+ headers: {
18081
+ [name: string]: unknown;
18082
+ };
18083
+ content: {
18084
+ "application/json": {
18085
+ /** Format: uuid */
18086
+ id: string;
18087
+ /** Format: uuid */
18088
+ bookingChannelId: string;
18089
+ /** @enum {string} */
18090
+ provider: "cloudflare" | "logo_dev";
18091
+ cloudflareImageId: string | null;
18092
+ icon: string | null;
18093
+ width: number | null;
18094
+ height: number | null;
18095
+ color: string | null;
18096
+ source: string | null;
18097
+ comment: string | null;
18098
+ isSelected: boolean;
18099
+ isSelectedForIcon: boolean;
18100
+ isSelectedForLogo: boolean;
18101
+ /**
18102
+ * Format: date-time
18103
+ * @description Timestamp string with date, time, milliseconds, and timezone.
18104
+ * @example 2024-01-15T12:30:00.000+00:00
18105
+ */
18106
+ createdAt: string;
18107
+ /**
18108
+ * Format: date-time
18109
+ * @description Timestamp string with date, time, milliseconds, and timezone.
18110
+ * @example 2024-01-15T12:30:00.000+00:00
18111
+ */
18112
+ updatedAt: string;
17679
18113
  };
17680
18114
  };
17681
18115
  };
@@ -26071,7 +26505,7 @@ export interface operations {
26071
26505
  };
26072
26506
  lines: {
26073
26507
  name: string;
26074
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | null;
26508
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "historical_general_ledger" | "opening_trial_balance") | null;
26075
26509
  party?: ("owners" | "manager") | null;
26076
26510
  /** @enum {string} */
26077
26511
  status: "active" | "inactive";
@@ -26114,7 +26548,7 @@ export interface operations {
26114
26548
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
26115
26549
  currency: string;
26116
26550
  /** @enum {string} */
26117
- type: "deposit" | "expense" | "transfer" | "payout";
26551
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
26118
26552
  isOpeningBalance: boolean;
26119
26553
  contact?: {
26120
26554
  /** Format: uuid */
@@ -28706,7 +29140,7 @@ export interface operations {
28706
29140
  txnAt: string;
28707
29141
  description: string;
28708
29142
  centTotal: number;
28709
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | "opening_trial_balance";
29143
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "historical_general_ledger" | "opening_trial_balance") | "opening_trial_balance";
28710
29144
  reservationId?: string;
28711
29145
  transactionId?: string;
28712
29146
  ownerStatementId?: string;
@@ -29898,7 +30332,7 @@ export interface operations {
29898
30332
  txnAt: string;
29899
30333
  description: string;
29900
30334
  centTotal: number;
29901
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | "opening_trial_balance";
30335
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "historical_general_ledger" | "opening_trial_balance") | "opening_trial_balance";
29902
30336
  reservationId?: string;
29903
30337
  transactionId?: string;
29904
30338
  ownerStatementId?: string;
@@ -37383,7 +37817,7 @@ export interface operations {
37383
37817
  };
37384
37818
  lines?: {
37385
37819
  name: string;
37386
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | null;
37820
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "historical_general_ledger" | "opening_trial_balance") | null;
37387
37821
  party?: ("owners" | "manager") | null;
37388
37822
  /** @enum {string} */
37389
37823
  status: "active" | "inactive";
@@ -37425,7 +37859,7 @@ export interface operations {
37425
37859
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
37426
37860
  currency: string;
37427
37861
  /** @enum {string} */
37428
- type: "deposit" | "expense" | "transfer" | "payout";
37862
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
37429
37863
  isOpeningBalance: boolean;
37430
37864
  contact?: {
37431
37865
  /** Format: uuid */
@@ -38129,6 +38563,7 @@ export interface operations {
38129
38563
  status: "mapped" | "unmapped" | "excluded";
38130
38564
  revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
38131
38565
  type: string;
38566
+ appId?: string | null;
38132
38567
  description?: string | null;
38133
38568
  /** @enum {string} */
38134
38569
  source: "manual" | "synced";
@@ -38274,6 +38709,7 @@ export interface operations {
38274
38709
  status: "mapped" | "unmapped" | "excluded";
38275
38710
  revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
38276
38711
  type: string;
38712
+ appId?: string | null;
38277
38713
  description?: string | null;
38278
38714
  /** @enum {string} */
38279
38715
  source: "manual" | "synced";
@@ -38523,6 +38959,7 @@ export interface operations {
38523
38959
  status: "mapped" | "unmapped" | "excluded";
38524
38960
  revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
38525
38961
  type: string;
38962
+ appId?: string | null;
38526
38963
  description?: string | null;
38527
38964
  /** @enum {string} */
38528
38965
  source: "manual" | "synced";
@@ -38802,7 +39239,7 @@ export interface operations {
38802
39239
  };
38803
39240
  lines?: {
38804
39241
  name: string;
38805
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | null;
39242
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "historical_general_ledger" | "opening_trial_balance") | null;
38806
39243
  party?: ("owners" | "manager") | null;
38807
39244
  /** @enum {string} */
38808
39245
  status: "active" | "inactive";
@@ -38844,7 +39281,7 @@ export interface operations {
38844
39281
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
38845
39282
  currency: string;
38846
39283
  /** @enum {string} */
38847
- type: "deposit" | "expense" | "transfer" | "payout";
39284
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
38848
39285
  isOpeningBalance: boolean;
38849
39286
  contact?: {
38850
39287
  /** Format: uuid */
@@ -39394,7 +39831,7 @@ export interface operations {
39394
39831
  };
39395
39832
  lines?: {
39396
39833
  name: string;
39397
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | null;
39834
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "historical_general_ledger" | "opening_trial_balance") | null;
39398
39835
  party?: ("owners" | "manager") | null;
39399
39836
  /** @enum {string} */
39400
39837
  status: "active" | "inactive";
@@ -39436,7 +39873,7 @@ export interface operations {
39436
39873
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
39437
39874
  currency: string;
39438
39875
  /** @enum {string} */
39439
- type: "deposit" | "expense" | "transfer" | "payout";
39876
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
39440
39877
  isOpeningBalance: boolean;
39441
39878
  contact?: {
39442
39879
  /** Format: uuid */
@@ -40102,7 +40539,7 @@ export interface operations {
40102
40539
  };
40103
40540
  lines?: {
40104
40541
  name: string;
40105
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | null;
40542
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "historical_general_ledger" | "opening_trial_balance") | null;
40106
40543
  party?: ("owners" | "manager") | null;
40107
40544
  /** @enum {string} */
40108
40545
  status: "active" | "inactive";
@@ -40144,7 +40581,7 @@ export interface operations {
40144
40581
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
40145
40582
  currency: string;
40146
40583
  /** @enum {string} */
40147
- type: "deposit" | "expense" | "transfer" | "payout";
40584
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
40148
40585
  isOpeningBalance: boolean;
40149
40586
  contact?: {
40150
40587
  /** Format: uuid */
@@ -40584,7 +41021,7 @@ export interface operations {
40584
41021
  };
40585
41022
  lines?: {
40586
41023
  name: string;
40587
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | null;
41024
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "historical_general_ledger" | "opening_trial_balance") | null;
40588
41025
  party?: ("owners" | "manager") | null;
40589
41026
  /** @enum {string} */
40590
41027
  status: "active" | "inactive";
@@ -40626,7 +41063,7 @@ export interface operations {
40626
41063
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
40627
41064
  currency: string;
40628
41065
  /** @enum {string} */
40629
- type: "deposit" | "expense" | "transfer" | "payout";
41066
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
40630
41067
  isOpeningBalance: boolean;
40631
41068
  contact?: {
40632
41069
  /** Format: uuid */
@@ -41052,7 +41489,7 @@ export interface operations {
41052
41489
  };
41053
41490
  lines?: {
41054
41491
  name: string;
41055
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | null;
41492
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "historical_general_ledger" | "opening_trial_balance") | null;
41056
41493
  party?: ("owners" | "manager") | null;
41057
41494
  /** @enum {string} */
41058
41495
  status: "active" | "inactive";
@@ -41094,7 +41531,7 @@ export interface operations {
41094
41531
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
41095
41532
  currency: string;
41096
41533
  /** @enum {string} */
41097
- type: "deposit" | "expense" | "transfer" | "payout";
41534
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
41098
41535
  isOpeningBalance: boolean;
41099
41536
  contact?: {
41100
41537
  /** Format: uuid */
@@ -46685,7 +47122,7 @@ export interface operations {
46685
47122
  uniqueRef?: string | null;
46686
47123
  isOpeningBalance: boolean;
46687
47124
  /** @enum {string} */
46688
- type: "deposit" | "expense" | "transfer" | "payout";
47125
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
46689
47126
  date: string;
46690
47127
  lines: {
46691
47128
  uniqueRef?: string | null;
@@ -53269,271 +53706,17 @@ export interface operations {
53269
53706
  };
53270
53707
  };
53271
53708
  };
53272
- getTeamsMigrateVriToVrtStatementsAccountMappings: {
53273
- parameters: {
53274
- query: {
53275
- sourceTenantId: string;
53276
- targetTenantId: string;
53277
- };
53278
- header?: never;
53279
- path?: never;
53280
- cookie?: never;
53281
- };
53282
- requestBody?: never;
53283
- responses: {
53284
- /** @description Successful response */
53285
- 200: {
53286
- headers: {
53287
- [name: string]: unknown;
53288
- };
53289
- content: {
53290
- "application/json": {
53291
- effectiveGlStartAt: string;
53292
- oldAccounts: {
53293
- legacyAccount: {
53294
- key: string;
53295
- ref?: string | null;
53296
- name: string;
53297
- classification?: string | null;
53298
- };
53299
- sources: ("template" | "line")[];
53300
- suggestedTargetAccount: {
53301
- /** Format: uuid */
53302
- id: string;
53303
- title: string;
53304
- } | null;
53305
- currentTargetAccount: {
53306
- /** Format: uuid */
53307
- id: string;
53308
- title: string;
53309
- } | null;
53310
- }[];
53311
- newAccounts: {
53312
- /** Format: uuid */
53313
- id: string;
53314
- title: string;
53315
- category: {
53316
- /** Format: uuid */
53317
- id: string;
53318
- name: string;
53319
- /** @enum {string} */
53320
- classification: "asset" | "liability" | "revenue" | "expense";
53321
- };
53322
- type: string;
53323
- status?: string | null;
53324
- }[];
53325
- };
53326
- };
53327
- };
53328
- /** @description Bad request */
53329
- 400: {
53330
- headers: {
53331
- [name: string]: unknown;
53332
- };
53333
- content: {
53334
- "application/json": {
53335
- code: string;
53336
- message: string;
53337
- issues?: {
53338
- message: string;
53339
- }[];
53340
- context?: unknown;
53341
- };
53342
- };
53343
- };
53344
- /** @description Unauthorized */
53345
- 401: {
53346
- headers: {
53347
- [name: string]: unknown;
53348
- };
53349
- content: {
53350
- "application/json": {
53351
- code: string;
53352
- message: string;
53353
- issues?: {
53354
- message: string;
53355
- }[];
53356
- context?: unknown;
53357
- };
53358
- };
53359
- };
53360
- /** @description Forbidden */
53361
- 403: {
53362
- headers: {
53363
- [name: string]: unknown;
53364
- };
53365
- content: {
53366
- "application/json": {
53367
- code: string;
53368
- message: string;
53369
- issues?: {
53370
- message: string;
53371
- }[];
53372
- context?: unknown;
53373
- };
53374
- };
53375
- };
53376
- /** @description Not found */
53377
- 404: {
53378
- headers: {
53379
- [name: string]: unknown;
53380
- };
53381
- content: {
53382
- "application/json": {
53383
- code: string;
53384
- message: string;
53385
- issues?: {
53386
- message: string;
53387
- }[];
53388
- context?: unknown;
53389
- };
53390
- };
53391
- };
53392
- /** @description Internal server error */
53393
- 500: {
53394
- headers: {
53395
- [name: string]: unknown;
53396
- };
53397
- content: {
53398
- "application/json": {
53399
- code: string;
53400
- message: string;
53401
- issues?: {
53402
- message: string;
53403
- }[];
53404
- context?: unknown;
53405
- };
53406
- };
53407
- };
53408
- };
53409
- };
53410
- getTeamsOpeningBalancesAccountsPayable: {
53411
- parameters: {
53412
- query: {
53413
- party: "owners" | "manager";
53414
- };
53415
- header?: never;
53416
- path?: never;
53417
- cookie?: never;
53418
- };
53419
- requestBody?: never;
53420
- responses: {
53421
- /** @description Successful response */
53422
- 200: {
53423
- headers: {
53424
- [name: string]: unknown;
53425
- };
53426
- content: {
53427
- "application/json": {
53428
- /** @description Value in cents (100 = 1€) */
53429
- amount: number;
53430
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
53431
- currency: string;
53432
- updatedAt?: string | null;
53433
- transactionId?: string | null;
53434
- };
53435
- };
53436
- };
53437
- /** @description Bad request */
53438
- 400: {
53439
- headers: {
53440
- [name: string]: unknown;
53441
- };
53442
- content: {
53443
- "application/json": {
53444
- code: string;
53445
- message: string;
53446
- issues?: {
53447
- message: string;
53448
- }[];
53449
- context?: unknown;
53450
- };
53451
- };
53452
- };
53453
- /** @description Unauthorized */
53454
- 401: {
53455
- headers: {
53456
- [name: string]: unknown;
53457
- };
53458
- content: {
53459
- "application/json": {
53460
- code: string;
53461
- message: string;
53462
- issues?: {
53463
- message: string;
53464
- }[];
53465
- context?: unknown;
53466
- };
53467
- };
53468
- };
53469
- /** @description Forbidden */
53470
- 403: {
53471
- headers: {
53472
- [name: string]: unknown;
53473
- };
53474
- content: {
53475
- "application/json": {
53476
- code: string;
53477
- message: string;
53478
- issues?: {
53479
- message: string;
53480
- }[];
53481
- context?: unknown;
53482
- };
53483
- };
53484
- };
53485
- /** @description Not found */
53486
- 404: {
53487
- headers: {
53488
- [name: string]: unknown;
53489
- };
53490
- content: {
53491
- "application/json": {
53492
- code: string;
53493
- message: string;
53494
- issues?: {
53495
- message: string;
53496
- }[];
53497
- context?: unknown;
53498
- };
53499
- };
53500
- };
53501
- /** @description Internal server error */
53502
- 500: {
53503
- headers: {
53504
- [name: string]: unknown;
53505
- };
53506
- content: {
53507
- "application/json": {
53508
- code: string;
53509
- message: string;
53510
- issues?: {
53511
- message: string;
53512
- }[];
53513
- context?: unknown;
53514
- };
53515
- };
53516
- };
53517
- };
53518
- };
53519
- putTeamsOpeningBalancesAccountsPayable: {
53709
+ getTeamsMigrateVriToVrtStatementsAccountMappings: {
53520
53710
  parameters: {
53521
- query?: never;
53711
+ query: {
53712
+ sourceTenantId: string;
53713
+ targetTenantId: string;
53714
+ };
53522
53715
  header?: never;
53523
53716
  path?: never;
53524
53717
  cookie?: never;
53525
53718
  };
53526
- requestBody?: {
53527
- content: {
53528
- "application/json": {
53529
- /** @enum {string} */
53530
- party: "owners" | "manager";
53531
- /** @description Value in cents (100 = 1€) */
53532
- amount: number;
53533
- currency?: string | null;
53534
- };
53535
- };
53536
- };
53719
+ requestBody?: never;
53537
53720
  responses: {
53538
53721
  /** @description Successful response */
53539
53722
  200: {
@@ -53542,12 +53725,40 @@ export interface operations {
53542
53725
  };
53543
53726
  content: {
53544
53727
  "application/json": {
53545
- /** @description Value in cents (100 = 1€) */
53546
- amount: number;
53547
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
53548
- currency: string;
53549
- updatedAt?: string | null;
53550
- transactionId?: string | null;
53728
+ effectiveGlStartAt: string;
53729
+ oldAccounts: {
53730
+ legacyAccount: {
53731
+ key: string;
53732
+ ref?: string | null;
53733
+ name: string;
53734
+ classification?: string | null;
53735
+ };
53736
+ sources: ("template" | "line")[];
53737
+ suggestedTargetAccount: {
53738
+ /** Format: uuid */
53739
+ id: string;
53740
+ title: string;
53741
+ } | null;
53742
+ currentTargetAccount: {
53743
+ /** Format: uuid */
53744
+ id: string;
53745
+ title: string;
53746
+ } | null;
53747
+ }[];
53748
+ newAccounts: {
53749
+ /** Format: uuid */
53750
+ id: string;
53751
+ title: string;
53752
+ category: {
53753
+ /** Format: uuid */
53754
+ id: string;
53755
+ name: string;
53756
+ /** @enum {string} */
53757
+ classification: "asset" | "liability" | "revenue" | "expense";
53758
+ };
53759
+ type: string;
53760
+ status?: string | null;
53761
+ }[];
53551
53762
  };
53552
53763
  };
53553
53764
  };
@@ -53633,9 +53844,11 @@ export interface operations {
53633
53844
  };
53634
53845
  };
53635
53846
  };
53636
- getTeamsOpeningBalancesAccountsReceivableDeferredRevenue: {
53847
+ getTeamsOpeningBalancesAccountsPayable: {
53637
53848
  parameters: {
53638
- query?: never;
53849
+ query: {
53850
+ party: "owners" | "manager";
53851
+ };
53639
53852
  header?: never;
53640
53853
  path?: never;
53641
53854
  cookie?: never;
@@ -53655,10 +53868,6 @@ export interface operations {
53655
53868
  currency: string;
53656
53869
  updatedAt?: string | null;
53657
53870
  transactionId?: string | null;
53658
- /** @description Value in cents (100 = 1€) */
53659
- accountsReceivableAmount: number;
53660
- /** @description Value in cents (100 = 1€) */
53661
- deferredRevenueAmount: number;
53662
53871
  };
53663
53872
  };
53664
53873
  };
@@ -53744,7 +53953,7 @@ export interface operations {
53744
53953
  };
53745
53954
  };
53746
53955
  };
53747
- putTeamsOpeningBalancesAccountsReceivableDeferredRevenue: {
53956
+ putTeamsOpeningBalancesAccountsPayable: {
53748
53957
  parameters: {
53749
53958
  query?: never;
53750
53959
  header?: never;
@@ -53754,10 +53963,10 @@ export interface operations {
53754
53963
  requestBody?: {
53755
53964
  content: {
53756
53965
  "application/json": {
53966
+ /** @enum {string} */
53967
+ party: "owners" | "manager";
53757
53968
  /** @description Value in cents (100 = 1€) */
53758
- accountsReceivableAmount: number;
53759
- /** @description Value in cents (100 = 1€) */
53760
- deferredRevenueAmount: number;
53969
+ amount: number;
53761
53970
  currency?: string | null;
53762
53971
  };
53763
53972
  };
@@ -53776,10 +53985,6 @@ export interface operations {
53776
53985
  currency: string;
53777
53986
  updatedAt?: string | null;
53778
53987
  transactionId?: string | null;
53779
- /** @description Value in cents (100 = 1€) */
53780
- accountsReceivableAmount: number;
53781
- /** @description Value in cents (100 = 1€) */
53782
- deferredRevenueAmount: number;
53783
53988
  };
53784
53989
  };
53785
53990
  };
@@ -53865,7 +54070,7 @@ export interface operations {
53865
54070
  };
53866
54071
  };
53867
54072
  };
53868
- getTeamsOpeningBalancesAdvancedDeposits: {
54073
+ getTeamsOpeningBalancesAccountsReceivableDeferredRevenue: {
53869
54074
  parameters: {
53870
54075
  query?: never;
53871
54076
  header?: never;
@@ -53887,17 +54092,10 @@ export interface operations {
53887
54092
  currency: string;
53888
54093
  updatedAt?: string | null;
53889
54094
  transactionId?: string | null;
53890
- account?: {
53891
- /** Format: uuid */
53892
- id: string;
53893
- name: string;
53894
- } | null;
53895
- reservations: {
53896
- reservationId?: string | null;
53897
- listingId?: string | null;
53898
- /** @description Value in cents (100 = 1€) */
53899
- amount: number;
53900
- }[];
54095
+ /** @description Value in cents (100 = 1€) */
54096
+ accountsReceivableAmount: number;
54097
+ /** @description Value in cents (100 = 1€) */
54098
+ deferredRevenueAmount: number;
53901
54099
  };
53902
54100
  };
53903
54101
  };
@@ -53983,7 +54181,7 @@ export interface operations {
53983
54181
  };
53984
54182
  };
53985
54183
  };
53986
- putTeamsOpeningBalancesAdvancedDeposits: {
54184
+ putTeamsOpeningBalancesAccountsReceivableDeferredRevenue: {
53987
54185
  parameters: {
53988
54186
  query?: never;
53989
54187
  header?: never;
@@ -53993,18 +54191,125 @@ export interface operations {
53993
54191
  requestBody?: {
53994
54192
  content: {
53995
54193
  "application/json": {
53996
- accountId?: string | null;
54194
+ /** @description Value in cents (100 = 1€) */
54195
+ accountsReceivableAmount: number;
54196
+ /** @description Value in cents (100 = 1€) */
54197
+ deferredRevenueAmount: number;
53997
54198
  currency?: string | null;
53998
- reservations: {
53999
- /** Format: uuid */
54000
- reservationId: string;
54001
- listingId?: string | null;
54199
+ };
54200
+ };
54201
+ };
54202
+ responses: {
54203
+ /** @description Successful response */
54204
+ 200: {
54205
+ headers: {
54206
+ [name: string]: unknown;
54207
+ };
54208
+ content: {
54209
+ "application/json": {
54002
54210
  /** @description Value in cents (100 = 1€) */
54003
54211
  amount: number;
54004
- }[];
54212
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
54213
+ currency: string;
54214
+ updatedAt?: string | null;
54215
+ transactionId?: string | null;
54216
+ /** @description Value in cents (100 = 1€) */
54217
+ accountsReceivableAmount: number;
54218
+ /** @description Value in cents (100 = 1€) */
54219
+ deferredRevenueAmount: number;
54220
+ };
54221
+ };
54222
+ };
54223
+ /** @description Bad request */
54224
+ 400: {
54225
+ headers: {
54226
+ [name: string]: unknown;
54227
+ };
54228
+ content: {
54229
+ "application/json": {
54230
+ code: string;
54231
+ message: string;
54232
+ issues?: {
54233
+ message: string;
54234
+ }[];
54235
+ context?: unknown;
54236
+ };
54237
+ };
54238
+ };
54239
+ /** @description Unauthorized */
54240
+ 401: {
54241
+ headers: {
54242
+ [name: string]: unknown;
54243
+ };
54244
+ content: {
54245
+ "application/json": {
54246
+ code: string;
54247
+ message: string;
54248
+ issues?: {
54249
+ message: string;
54250
+ }[];
54251
+ context?: unknown;
54252
+ };
54253
+ };
54254
+ };
54255
+ /** @description Forbidden */
54256
+ 403: {
54257
+ headers: {
54258
+ [name: string]: unknown;
54259
+ };
54260
+ content: {
54261
+ "application/json": {
54262
+ code: string;
54263
+ message: string;
54264
+ issues?: {
54265
+ message: string;
54266
+ }[];
54267
+ context?: unknown;
54268
+ };
54269
+ };
54270
+ };
54271
+ /** @description Not found */
54272
+ 404: {
54273
+ headers: {
54274
+ [name: string]: unknown;
54275
+ };
54276
+ content: {
54277
+ "application/json": {
54278
+ code: string;
54279
+ message: string;
54280
+ issues?: {
54281
+ message: string;
54282
+ }[];
54283
+ context?: unknown;
54284
+ };
54285
+ };
54286
+ };
54287
+ /** @description Internal server error */
54288
+ 500: {
54289
+ headers: {
54290
+ [name: string]: unknown;
54291
+ };
54292
+ content: {
54293
+ "application/json": {
54294
+ code: string;
54295
+ message: string;
54296
+ issues?: {
54297
+ message: string;
54298
+ }[];
54299
+ context?: unknown;
54300
+ };
54005
54301
  };
54006
54302
  };
54007
54303
  };
54304
+ };
54305
+ getTeamsOpeningBalancesAdvancedDeposits: {
54306
+ parameters: {
54307
+ query?: never;
54308
+ header?: never;
54309
+ path?: never;
54310
+ cookie?: never;
54311
+ };
54312
+ requestBody?: never;
54008
54313
  responses: {
54009
54314
  /** @description Successful response */
54010
54315
  200: {
@@ -54115,17 +54420,28 @@ export interface operations {
54115
54420
  };
54116
54421
  };
54117
54422
  };
54118
- getTeamsOpeningBalancesAdvancedDepositsSyncedPaymentsRefunds: {
54423
+ putTeamsOpeningBalancesAdvancedDeposits: {
54119
54424
  parameters: {
54120
- query?: {
54121
- /** @description comma separated list of reservation ids */
54122
- reservationsIds?: string;
54123
- };
54425
+ query?: never;
54124
54426
  header?: never;
54125
54427
  path?: never;
54126
54428
  cookie?: never;
54127
54429
  };
54128
- requestBody?: never;
54430
+ requestBody?: {
54431
+ content: {
54432
+ "application/json": {
54433
+ accountId?: string | null;
54434
+ currency?: string | null;
54435
+ reservations: {
54436
+ /** Format: uuid */
54437
+ reservationId: string;
54438
+ listingId?: string | null;
54439
+ /** @description Value in cents (100 = 1€) */
54440
+ amount: number;
54441
+ }[];
54442
+ };
54443
+ };
54444
+ };
54129
54445
  responses: {
54130
54446
  /** @description Successful response */
54131
54447
  200: {
@@ -54134,36 +54450,22 @@ export interface operations {
54134
54450
  };
54135
54451
  content: {
54136
54452
  "application/json": {
54137
- glStartAt: string;
54138
- /** @enum {string} */
54139
- defaultRevenueRecognition: "checkIn" | "checkOut" | "bookedAt" | "proRata";
54140
- reservations: {
54453
+ /** @description Value in cents (100 = 1€) */
54454
+ amount: number;
54455
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
54456
+ currency: string;
54457
+ updatedAt?: string | null;
54458
+ transactionId?: string | null;
54459
+ account?: {
54141
54460
  /** Format: uuid */
54142
- reservationId: string;
54461
+ id: string;
54462
+ name: string;
54463
+ } | null;
54464
+ reservations: {
54465
+ reservationId?: string | null;
54143
54466
  listingId?: string | null;
54144
- confirmationCode?: string | null;
54145
- guestName?: string | null;
54146
- checkIn?: string | null;
54147
- checkOut?: string | null;
54148
- bookedAt?: string | null;
54149
- reservationAmount?: number | null;
54150
54467
  /** @description Value in cents (100 = 1€) */
54151
- payment: number;
54152
- /** @description Value in cents (100 = 1€) */
54153
- refund: number;
54154
- transactions: {
54155
- /** Format: uuid */
54156
- transactionId: string;
54157
- /** Format: uuid */
54158
- transactionLineId: string;
54159
- date: string;
54160
- uniqueRef?: string | null;
54161
- description?: string | null;
54162
- /** @description Value in cents (100 = 1€) */
54163
- amount: number;
54164
- /** @enum {string} */
54165
- direction: "payment" | "refund";
54166
- }[];
54468
+ amount: number;
54167
54469
  }[];
54168
54470
  };
54169
54471
  };
@@ -54250,9 +54552,12 @@ export interface operations {
54250
54552
  };
54251
54553
  };
54252
54554
  };
54253
- getTeamsOpeningBalancesTaxPayable: {
54555
+ getTeamsOpeningBalancesAdvancedDepositsSyncedPaymentsRefunds: {
54254
54556
  parameters: {
54255
- query?: never;
54557
+ query?: {
54558
+ /** @description comma separated list of reservation ids */
54559
+ reservationsIds?: string;
54560
+ };
54256
54561
  header?: never;
54257
54562
  path?: never;
54258
54563
  cookie?: never;
@@ -54266,12 +54571,37 @@ export interface operations {
54266
54571
  };
54267
54572
  content: {
54268
54573
  "application/json": {
54269
- /** @description Value in cents (100 = 1€) */
54270
- amount: number;
54271
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
54272
- currency: string;
54273
- updatedAt?: string | null;
54274
- transactionId?: string | null;
54574
+ glStartAt: string;
54575
+ /** @enum {string} */
54576
+ defaultRevenueRecognition: "checkIn" | "checkOut" | "bookedAt" | "proRata";
54577
+ reservations: {
54578
+ /** Format: uuid */
54579
+ reservationId: string;
54580
+ listingId?: string | null;
54581
+ confirmationCode?: string | null;
54582
+ guestName?: string | null;
54583
+ checkIn?: string | null;
54584
+ checkOut?: string | null;
54585
+ bookedAt?: string | null;
54586
+ reservationAmount?: number | null;
54587
+ /** @description Value in cents (100 = 1€) */
54588
+ payment: number;
54589
+ /** @description Value in cents (100 = 1€) */
54590
+ refund: number;
54591
+ transactions: {
54592
+ /** Format: uuid */
54593
+ transactionId: string;
54594
+ /** Format: uuid */
54595
+ transactionLineId: string;
54596
+ date: string;
54597
+ uniqueRef?: string | null;
54598
+ description?: string | null;
54599
+ /** @description Value in cents (100 = 1€) */
54600
+ amount: number;
54601
+ /** @enum {string} */
54602
+ direction: "payment" | "refund";
54603
+ }[];
54604
+ }[];
54275
54605
  };
54276
54606
  };
54277
54607
  };
@@ -54357,22 +54687,14 @@ export interface operations {
54357
54687
  };
54358
54688
  };
54359
54689
  };
54360
- putTeamsOpeningBalancesTaxPayable: {
54690
+ getTeamsOpeningBalancesTaxPayable: {
54361
54691
  parameters: {
54362
54692
  query?: never;
54363
54693
  header?: never;
54364
54694
  path?: never;
54365
54695
  cookie?: never;
54366
54696
  };
54367
- requestBody?: {
54368
- content: {
54369
- "application/json": {
54370
- /** @description Value in cents (100 = 1€) */
54371
- amount: number;
54372
- currency?: string | null;
54373
- };
54374
- };
54375
- };
54697
+ requestBody?: never;
54376
54698
  responses: {
54377
54699
  /** @description Successful response */
54378
54700
  200: {
@@ -54472,153 +54794,7 @@ export interface operations {
54472
54794
  };
54473
54795
  };
54474
54796
  };
54475
- getTeamsOpeningTrialBalance: {
54476
- parameters: {
54477
- query?: never;
54478
- header?: never;
54479
- path?: never;
54480
- cookie?: never;
54481
- };
54482
- requestBody?: never;
54483
- responses: {
54484
- /** @description Successful response */
54485
- 200: {
54486
- headers: {
54487
- [name: string]: unknown;
54488
- };
54489
- content: {
54490
- "application/json": {
54491
- glStartAt: string;
54492
- openingDate: string;
54493
- source: {
54494
- /** @enum {string} */
54495
- mode: "manual" | "csv" | "quickbooks" | "none";
54496
- editable: boolean;
54497
- lastUpdatedAt?: string | null;
54498
- /** Format: uuid */
54499
- externalConnectionId?: string;
54500
- };
54501
- locked: boolean;
54502
- lockReasons: string[];
54503
- rows: {
54504
- /** Format: uuid */
54505
- accountId: string;
54506
- accountName: string;
54507
- /** @enum {string} */
54508
- classification: "asset" | "liability" | "revenue" | "expense";
54509
- /** @enum {string} */
54510
- type: "ledger" | "bank";
54511
- /** @description Value in cents (100 = 1€) */
54512
- combinedCentTotal: number;
54513
- /** @description Value in cents (100 = 1€) */
54514
- trustCentTotal: number;
54515
- /** @description Value in cents (100 = 1€) */
54516
- operatingCentTotal: number;
54517
- editable: boolean;
54518
- }[];
54519
- assignment: {
54520
- /** Format: uuid */
54521
- accountId: string;
54522
- accountName: string;
54523
- /** @description Value in cents (100 = 1€) */
54524
- combinedCentTotal: number;
54525
- /** @description Value in cents (100 = 1€) */
54526
- trustCentTotal: number;
54527
- /** @description Value in cents (100 = 1€) */
54528
- operatingCentTotal: number;
54529
- };
54530
- trustReversal: {
54531
- /** @enum {string} */
54532
- status: "not_created" | "active" | "locked";
54533
- journalEntryIds: string[];
54534
- lastRefreshedAt?: string | null;
54535
- };
54536
- };
54537
- };
54538
- };
54539
- /** @description Bad request */
54540
- 400: {
54541
- headers: {
54542
- [name: string]: unknown;
54543
- };
54544
- content: {
54545
- "application/json": {
54546
- code: string;
54547
- message: string;
54548
- issues?: {
54549
- message: string;
54550
- }[];
54551
- context?: unknown;
54552
- };
54553
- };
54554
- };
54555
- /** @description Unauthorized */
54556
- 401: {
54557
- headers: {
54558
- [name: string]: unknown;
54559
- };
54560
- content: {
54561
- "application/json": {
54562
- code: string;
54563
- message: string;
54564
- issues?: {
54565
- message: string;
54566
- }[];
54567
- context?: unknown;
54568
- };
54569
- };
54570
- };
54571
- /** @description Forbidden */
54572
- 403: {
54573
- headers: {
54574
- [name: string]: unknown;
54575
- };
54576
- content: {
54577
- "application/json": {
54578
- code: string;
54579
- message: string;
54580
- issues?: {
54581
- message: string;
54582
- }[];
54583
- context?: unknown;
54584
- };
54585
- };
54586
- };
54587
- /** @description Not found */
54588
- 404: {
54589
- headers: {
54590
- [name: string]: unknown;
54591
- };
54592
- content: {
54593
- "application/json": {
54594
- code: string;
54595
- message: string;
54596
- issues?: {
54597
- message: string;
54598
- }[];
54599
- context?: unknown;
54600
- };
54601
- };
54602
- };
54603
- /** @description Internal server error */
54604
- 500: {
54605
- headers: {
54606
- [name: string]: unknown;
54607
- };
54608
- content: {
54609
- "application/json": {
54610
- code: string;
54611
- message: string;
54612
- issues?: {
54613
- message: string;
54614
- }[];
54615
- context?: unknown;
54616
- };
54617
- };
54618
- };
54619
- };
54620
- };
54621
- putTeamsOpeningTrialBalanceManual: {
54797
+ putTeamsOpeningBalancesTaxPayable: {
54622
54798
  parameters: {
54623
54799
  query?: never;
54624
54800
  header?: never;
@@ -54628,12 +54804,9 @@ export interface operations {
54628
54804
  requestBody?: {
54629
54805
  content: {
54630
54806
  "application/json": {
54631
- rows: {
54632
- /** Format: uuid */
54633
- accountId: string;
54634
- /** @description Value in cents (100 = 1€) */
54635
- combinedCentTotal: number;
54636
- }[];
54807
+ /** @description Value in cents (100 = 1€) */
54808
+ amount: number;
54809
+ currency?: string | null;
54637
54810
  };
54638
54811
  };
54639
54812
  };
@@ -54645,51 +54818,12 @@ export interface operations {
54645
54818
  };
54646
54819
  content: {
54647
54820
  "application/json": {
54648
- glStartAt: string;
54649
- openingDate: string;
54650
- source: {
54651
- /** @enum {string} */
54652
- mode: "manual" | "csv" | "quickbooks" | "none";
54653
- editable: boolean;
54654
- lastUpdatedAt?: string | null;
54655
- /** Format: uuid */
54656
- externalConnectionId?: string;
54657
- };
54658
- locked: boolean;
54659
- lockReasons: string[];
54660
- rows: {
54661
- /** Format: uuid */
54662
- accountId: string;
54663
- accountName: string;
54664
- /** @enum {string} */
54665
- classification: "asset" | "liability" | "revenue" | "expense";
54666
- /** @enum {string} */
54667
- type: "ledger" | "bank";
54668
- /** @description Value in cents (100 = 1€) */
54669
- combinedCentTotal: number;
54670
- /** @description Value in cents (100 = 1€) */
54671
- trustCentTotal: number;
54672
- /** @description Value in cents (100 = 1€) */
54673
- operatingCentTotal: number;
54674
- editable: boolean;
54675
- }[];
54676
- assignment: {
54677
- /** Format: uuid */
54678
- accountId: string;
54679
- accountName: string;
54680
- /** @description Value in cents (100 = 1€) */
54681
- combinedCentTotal: number;
54682
- /** @description Value in cents (100 = 1€) */
54683
- trustCentTotal: number;
54684
- /** @description Value in cents (100 = 1€) */
54685
- operatingCentTotal: number;
54686
- };
54687
- trustReversal: {
54688
- /** @enum {string} */
54689
- status: "not_created" | "active" | "locked";
54690
- journalEntryIds: string[];
54691
- lastRefreshedAt?: string | null;
54692
- };
54821
+ /** @description Value in cents (100 = 1€) */
54822
+ amount: number;
54823
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
54824
+ currency: string;
54825
+ updatedAt?: string | null;
54826
+ transactionId?: string | null;
54693
54827
  };
54694
54828
  };
54695
54829
  };
@@ -57410,7 +57544,7 @@ export interface operations {
57410
57544
  uniqueRef?: string | null;
57411
57545
  isOpeningBalance: boolean;
57412
57546
  /** @enum {string} */
57413
- type: "deposit" | "expense" | "transfer" | "payout";
57547
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
57414
57548
  date: string;
57415
57549
  lines?: {
57416
57550
  uniqueRef?: string | null;
@@ -57844,7 +57978,7 @@ export interface operations {
57844
57978
  uniqueRef?: string | null;
57845
57979
  isOpeningBalance: boolean;
57846
57980
  /** @enum {string} */
57847
- type: "deposit" | "expense" | "transfer" | "payout";
57981
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
57848
57982
  date: string;
57849
57983
  lines: {
57850
57984
  uniqueRef?: string | null;
@@ -60813,7 +60947,7 @@ export interface operations {
60813
60947
  uniqueRef?: string | null;
60814
60948
  isOpeningBalance: boolean;
60815
60949
  /** @enum {string} */
60816
- type: "deposit" | "expense" | "transfer" | "payout";
60950
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
60817
60951
  date: string;
60818
60952
  lines: {
60819
60953
  uniqueRef?: string | null;
@@ -61303,7 +61437,7 @@ export interface operations {
61303
61437
  uniqueRef?: string | null;
61304
61438
  isOpeningBalance: boolean;
61305
61439
  /** @enum {string} */
61306
- type: "deposit" | "expense" | "transfer" | "payout";
61440
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
61307
61441
  date: string;
61308
61442
  lines: {
61309
61443
  uniqueRef?: string | null;
@@ -61789,7 +61923,7 @@ export interface operations {
61789
61923
  uniqueRef?: string | null;
61790
61924
  isOpeningBalance: boolean;
61791
61925
  /** @enum {string} */
61792
- type: "deposit" | "expense" | "transfer" | "payout";
61926
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
61793
61927
  date: string;
61794
61928
  lines: {
61795
61929
  uniqueRef?: string | null;
@@ -62281,7 +62415,7 @@ export interface operations {
62281
62415
  uniqueRef?: string | null;
62282
62416
  isOpeningBalance: boolean;
62283
62417
  /** @enum {string} */
62284
- type: "deposit" | "expense" | "transfer" | "payout";
62418
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
62285
62419
  date: string;
62286
62420
  lines: {
62287
62421
  uniqueRef?: string | null;