@vrplatform/api 1.3.1-stage.4044 → 1.3.1-stage.4045

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 */
@@ -38802,7 +39236,7 @@ export interface operations {
38802
39236
  };
38803
39237
  lines?: {
38804
39238
  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;
39239
+ 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
39240
  party?: ("owners" | "manager") | null;
38807
39241
  /** @enum {string} */
38808
39242
  status: "active" | "inactive";
@@ -38844,7 +39278,7 @@ export interface operations {
38844
39278
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
38845
39279
  currency: string;
38846
39280
  /** @enum {string} */
38847
- type: "deposit" | "expense" | "transfer" | "payout";
39281
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
38848
39282
  isOpeningBalance: boolean;
38849
39283
  contact?: {
38850
39284
  /** Format: uuid */
@@ -39394,7 +39828,7 @@ export interface operations {
39394
39828
  };
39395
39829
  lines?: {
39396
39830
  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;
39831
+ 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
39832
  party?: ("owners" | "manager") | null;
39399
39833
  /** @enum {string} */
39400
39834
  status: "active" | "inactive";
@@ -39436,7 +39870,7 @@ export interface operations {
39436
39870
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
39437
39871
  currency: string;
39438
39872
  /** @enum {string} */
39439
- type: "deposit" | "expense" | "transfer" | "payout";
39873
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
39440
39874
  isOpeningBalance: boolean;
39441
39875
  contact?: {
39442
39876
  /** Format: uuid */
@@ -40102,7 +40536,7 @@ export interface operations {
40102
40536
  };
40103
40537
  lines?: {
40104
40538
  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;
40539
+ 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
40540
  party?: ("owners" | "manager") | null;
40107
40541
  /** @enum {string} */
40108
40542
  status: "active" | "inactive";
@@ -40144,7 +40578,7 @@ export interface operations {
40144
40578
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
40145
40579
  currency: string;
40146
40580
  /** @enum {string} */
40147
- type: "deposit" | "expense" | "transfer" | "payout";
40581
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
40148
40582
  isOpeningBalance: boolean;
40149
40583
  contact?: {
40150
40584
  /** Format: uuid */
@@ -40584,7 +41018,7 @@ export interface operations {
40584
41018
  };
40585
41019
  lines?: {
40586
41020
  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;
41021
+ 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
41022
  party?: ("owners" | "manager") | null;
40589
41023
  /** @enum {string} */
40590
41024
  status: "active" | "inactive";
@@ -40626,7 +41060,7 @@ export interface operations {
40626
41060
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
40627
41061
  currency: string;
40628
41062
  /** @enum {string} */
40629
- type: "deposit" | "expense" | "transfer" | "payout";
41063
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
40630
41064
  isOpeningBalance: boolean;
40631
41065
  contact?: {
40632
41066
  /** Format: uuid */
@@ -41052,7 +41486,7 @@ export interface operations {
41052
41486
  };
41053
41487
  lines?: {
41054
41488
  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;
41489
+ 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
41490
  party?: ("owners" | "manager") | null;
41057
41491
  /** @enum {string} */
41058
41492
  status: "active" | "inactive";
@@ -41094,7 +41528,7 @@ export interface operations {
41094
41528
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
41095
41529
  currency: string;
41096
41530
  /** @enum {string} */
41097
- type: "deposit" | "expense" | "transfer" | "payout";
41531
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
41098
41532
  isOpeningBalance: boolean;
41099
41533
  contact?: {
41100
41534
  /** Format: uuid */
@@ -46685,7 +47119,7 @@ export interface operations {
46685
47119
  uniqueRef?: string | null;
46686
47120
  isOpeningBalance: boolean;
46687
47121
  /** @enum {string} */
46688
- type: "deposit" | "expense" | "transfer" | "payout";
47122
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
46689
47123
  date: string;
46690
47124
  lines: {
46691
47125
  uniqueRef?: string | null;
@@ -53269,271 +53703,17 @@ export interface operations {
53269
53703
  };
53270
53704
  };
53271
53705
  };
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: {
53706
+ getTeamsMigrateVriToVrtStatementsAccountMappings: {
53520
53707
  parameters: {
53521
- query?: never;
53708
+ query: {
53709
+ sourceTenantId: string;
53710
+ targetTenantId: string;
53711
+ };
53522
53712
  header?: never;
53523
53713
  path?: never;
53524
53714
  cookie?: never;
53525
53715
  };
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
- };
53716
+ requestBody?: never;
53537
53717
  responses: {
53538
53718
  /** @description Successful response */
53539
53719
  200: {
@@ -53542,12 +53722,40 @@ export interface operations {
53542
53722
  };
53543
53723
  content: {
53544
53724
  "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;
53725
+ effectiveGlStartAt: string;
53726
+ oldAccounts: {
53727
+ legacyAccount: {
53728
+ key: string;
53729
+ ref?: string | null;
53730
+ name: string;
53731
+ classification?: string | null;
53732
+ };
53733
+ sources: ("template" | "line")[];
53734
+ suggestedTargetAccount: {
53735
+ /** Format: uuid */
53736
+ id: string;
53737
+ title: string;
53738
+ } | null;
53739
+ currentTargetAccount: {
53740
+ /** Format: uuid */
53741
+ id: string;
53742
+ title: string;
53743
+ } | null;
53744
+ }[];
53745
+ newAccounts: {
53746
+ /** Format: uuid */
53747
+ id: string;
53748
+ title: string;
53749
+ category: {
53750
+ /** Format: uuid */
53751
+ id: string;
53752
+ name: string;
53753
+ /** @enum {string} */
53754
+ classification: "asset" | "liability" | "revenue" | "expense";
53755
+ };
53756
+ type: string;
53757
+ status?: string | null;
53758
+ }[];
53551
53759
  };
53552
53760
  };
53553
53761
  };
@@ -53633,9 +53841,11 @@ export interface operations {
53633
53841
  };
53634
53842
  };
53635
53843
  };
53636
- getTeamsOpeningBalancesAccountsReceivableDeferredRevenue: {
53844
+ getTeamsOpeningBalancesAccountsPayable: {
53637
53845
  parameters: {
53638
- query?: never;
53846
+ query: {
53847
+ party: "owners" | "manager";
53848
+ };
53639
53849
  header?: never;
53640
53850
  path?: never;
53641
53851
  cookie?: never;
@@ -53655,10 +53865,6 @@ export interface operations {
53655
53865
  currency: string;
53656
53866
  updatedAt?: string | null;
53657
53867
  transactionId?: string | null;
53658
- /** @description Value in cents (100 = 1€) */
53659
- accountsReceivableAmount: number;
53660
- /** @description Value in cents (100 = 1€) */
53661
- deferredRevenueAmount: number;
53662
53868
  };
53663
53869
  };
53664
53870
  };
@@ -53744,7 +53950,7 @@ export interface operations {
53744
53950
  };
53745
53951
  };
53746
53952
  };
53747
- putTeamsOpeningBalancesAccountsReceivableDeferredRevenue: {
53953
+ putTeamsOpeningBalancesAccountsPayable: {
53748
53954
  parameters: {
53749
53955
  query?: never;
53750
53956
  header?: never;
@@ -53754,10 +53960,10 @@ export interface operations {
53754
53960
  requestBody?: {
53755
53961
  content: {
53756
53962
  "application/json": {
53963
+ /** @enum {string} */
53964
+ party: "owners" | "manager";
53757
53965
  /** @description Value in cents (100 = 1€) */
53758
- accountsReceivableAmount: number;
53759
- /** @description Value in cents (100 = 1€) */
53760
- deferredRevenueAmount: number;
53966
+ amount: number;
53761
53967
  currency?: string | null;
53762
53968
  };
53763
53969
  };
@@ -53776,10 +53982,6 @@ export interface operations {
53776
53982
  currency: string;
53777
53983
  updatedAt?: string | null;
53778
53984
  transactionId?: string | null;
53779
- /** @description Value in cents (100 = 1€) */
53780
- accountsReceivableAmount: number;
53781
- /** @description Value in cents (100 = 1€) */
53782
- deferredRevenueAmount: number;
53783
53985
  };
53784
53986
  };
53785
53987
  };
@@ -53865,7 +54067,7 @@ export interface operations {
53865
54067
  };
53866
54068
  };
53867
54069
  };
53868
- getTeamsOpeningBalancesAdvancedDeposits: {
54070
+ getTeamsOpeningBalancesAccountsReceivableDeferredRevenue: {
53869
54071
  parameters: {
53870
54072
  query?: never;
53871
54073
  header?: never;
@@ -53887,17 +54089,10 @@ export interface operations {
53887
54089
  currency: string;
53888
54090
  updatedAt?: string | null;
53889
54091
  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
- }[];
54092
+ /** @description Value in cents (100 = 1€) */
54093
+ accountsReceivableAmount: number;
54094
+ /** @description Value in cents (100 = 1€) */
54095
+ deferredRevenueAmount: number;
53901
54096
  };
53902
54097
  };
53903
54098
  };
@@ -53983,7 +54178,7 @@ export interface operations {
53983
54178
  };
53984
54179
  };
53985
54180
  };
53986
- putTeamsOpeningBalancesAdvancedDeposits: {
54181
+ putTeamsOpeningBalancesAccountsReceivableDeferredRevenue: {
53987
54182
  parameters: {
53988
54183
  query?: never;
53989
54184
  header?: never;
@@ -53993,18 +54188,125 @@ export interface operations {
53993
54188
  requestBody?: {
53994
54189
  content: {
53995
54190
  "application/json": {
53996
- accountId?: string | null;
54191
+ /** @description Value in cents (100 = 1€) */
54192
+ accountsReceivableAmount: number;
54193
+ /** @description Value in cents (100 = 1€) */
54194
+ deferredRevenueAmount: number;
53997
54195
  currency?: string | null;
53998
- reservations: {
53999
- /** Format: uuid */
54000
- reservationId: string;
54001
- listingId?: string | null;
54196
+ };
54197
+ };
54198
+ };
54199
+ responses: {
54200
+ /** @description Successful response */
54201
+ 200: {
54202
+ headers: {
54203
+ [name: string]: unknown;
54204
+ };
54205
+ content: {
54206
+ "application/json": {
54002
54207
  /** @description Value in cents (100 = 1€) */
54003
54208
  amount: number;
54004
- }[];
54209
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
54210
+ currency: string;
54211
+ updatedAt?: string | null;
54212
+ transactionId?: string | null;
54213
+ /** @description Value in cents (100 = 1€) */
54214
+ accountsReceivableAmount: number;
54215
+ /** @description Value in cents (100 = 1€) */
54216
+ deferredRevenueAmount: number;
54217
+ };
54218
+ };
54219
+ };
54220
+ /** @description Bad request */
54221
+ 400: {
54222
+ headers: {
54223
+ [name: string]: unknown;
54224
+ };
54225
+ content: {
54226
+ "application/json": {
54227
+ code: string;
54228
+ message: string;
54229
+ issues?: {
54230
+ message: string;
54231
+ }[];
54232
+ context?: unknown;
54233
+ };
54234
+ };
54235
+ };
54236
+ /** @description Unauthorized */
54237
+ 401: {
54238
+ headers: {
54239
+ [name: string]: unknown;
54240
+ };
54241
+ content: {
54242
+ "application/json": {
54243
+ code: string;
54244
+ message: string;
54245
+ issues?: {
54246
+ message: string;
54247
+ }[];
54248
+ context?: unknown;
54249
+ };
54250
+ };
54251
+ };
54252
+ /** @description Forbidden */
54253
+ 403: {
54254
+ headers: {
54255
+ [name: string]: unknown;
54256
+ };
54257
+ content: {
54258
+ "application/json": {
54259
+ code: string;
54260
+ message: string;
54261
+ issues?: {
54262
+ message: string;
54263
+ }[];
54264
+ context?: unknown;
54265
+ };
54266
+ };
54267
+ };
54268
+ /** @description Not found */
54269
+ 404: {
54270
+ headers: {
54271
+ [name: string]: unknown;
54272
+ };
54273
+ content: {
54274
+ "application/json": {
54275
+ code: string;
54276
+ message: string;
54277
+ issues?: {
54278
+ message: string;
54279
+ }[];
54280
+ context?: unknown;
54281
+ };
54282
+ };
54283
+ };
54284
+ /** @description Internal server error */
54285
+ 500: {
54286
+ headers: {
54287
+ [name: string]: unknown;
54288
+ };
54289
+ content: {
54290
+ "application/json": {
54291
+ code: string;
54292
+ message: string;
54293
+ issues?: {
54294
+ message: string;
54295
+ }[];
54296
+ context?: unknown;
54297
+ };
54005
54298
  };
54006
54299
  };
54007
54300
  };
54301
+ };
54302
+ getTeamsOpeningBalancesAdvancedDeposits: {
54303
+ parameters: {
54304
+ query?: never;
54305
+ header?: never;
54306
+ path?: never;
54307
+ cookie?: never;
54308
+ };
54309
+ requestBody?: never;
54008
54310
  responses: {
54009
54311
  /** @description Successful response */
54010
54312
  200: {
@@ -54115,17 +54417,28 @@ export interface operations {
54115
54417
  };
54116
54418
  };
54117
54419
  };
54118
- getTeamsOpeningBalancesAdvancedDepositsSyncedPaymentsRefunds: {
54420
+ putTeamsOpeningBalancesAdvancedDeposits: {
54119
54421
  parameters: {
54120
- query?: {
54121
- /** @description comma separated list of reservation ids */
54122
- reservationsIds?: string;
54123
- };
54422
+ query?: never;
54124
54423
  header?: never;
54125
54424
  path?: never;
54126
54425
  cookie?: never;
54127
54426
  };
54128
- requestBody?: never;
54427
+ requestBody?: {
54428
+ content: {
54429
+ "application/json": {
54430
+ accountId?: string | null;
54431
+ currency?: string | null;
54432
+ reservations: {
54433
+ /** Format: uuid */
54434
+ reservationId: string;
54435
+ listingId?: string | null;
54436
+ /** @description Value in cents (100 = 1€) */
54437
+ amount: number;
54438
+ }[];
54439
+ };
54440
+ };
54441
+ };
54129
54442
  responses: {
54130
54443
  /** @description Successful response */
54131
54444
  200: {
@@ -54134,36 +54447,22 @@ export interface operations {
54134
54447
  };
54135
54448
  content: {
54136
54449
  "application/json": {
54137
- glStartAt: string;
54138
- /** @enum {string} */
54139
- defaultRevenueRecognition: "checkIn" | "checkOut" | "bookedAt" | "proRata";
54140
- reservations: {
54450
+ /** @description Value in cents (100 = 1€) */
54451
+ amount: number;
54452
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
54453
+ currency: string;
54454
+ updatedAt?: string | null;
54455
+ transactionId?: string | null;
54456
+ account?: {
54141
54457
  /** Format: uuid */
54142
- reservationId: string;
54458
+ id: string;
54459
+ name: string;
54460
+ } | null;
54461
+ reservations: {
54462
+ reservationId?: string | null;
54143
54463
  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
54464
  /** @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
- }[];
54465
+ amount: number;
54167
54466
  }[];
54168
54467
  };
54169
54468
  };
@@ -54250,9 +54549,12 @@ export interface operations {
54250
54549
  };
54251
54550
  };
54252
54551
  };
54253
- getTeamsOpeningBalancesTaxPayable: {
54552
+ getTeamsOpeningBalancesAdvancedDepositsSyncedPaymentsRefunds: {
54254
54553
  parameters: {
54255
- query?: never;
54554
+ query?: {
54555
+ /** @description comma separated list of reservation ids */
54556
+ reservationsIds?: string;
54557
+ };
54256
54558
  header?: never;
54257
54559
  path?: never;
54258
54560
  cookie?: never;
@@ -54266,12 +54568,37 @@ export interface operations {
54266
54568
  };
54267
54569
  content: {
54268
54570
  "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;
54571
+ glStartAt: string;
54572
+ /** @enum {string} */
54573
+ defaultRevenueRecognition: "checkIn" | "checkOut" | "bookedAt" | "proRata";
54574
+ reservations: {
54575
+ /** Format: uuid */
54576
+ reservationId: string;
54577
+ listingId?: string | null;
54578
+ confirmationCode?: string | null;
54579
+ guestName?: string | null;
54580
+ checkIn?: string | null;
54581
+ checkOut?: string | null;
54582
+ bookedAt?: string | null;
54583
+ reservationAmount?: number | null;
54584
+ /** @description Value in cents (100 = 1€) */
54585
+ payment: number;
54586
+ /** @description Value in cents (100 = 1€) */
54587
+ refund: number;
54588
+ transactions: {
54589
+ /** Format: uuid */
54590
+ transactionId: string;
54591
+ /** Format: uuid */
54592
+ transactionLineId: string;
54593
+ date: string;
54594
+ uniqueRef?: string | null;
54595
+ description?: string | null;
54596
+ /** @description Value in cents (100 = 1€) */
54597
+ amount: number;
54598
+ /** @enum {string} */
54599
+ direction: "payment" | "refund";
54600
+ }[];
54601
+ }[];
54275
54602
  };
54276
54603
  };
54277
54604
  };
@@ -54357,22 +54684,14 @@ export interface operations {
54357
54684
  };
54358
54685
  };
54359
54686
  };
54360
- putTeamsOpeningBalancesTaxPayable: {
54687
+ getTeamsOpeningBalancesTaxPayable: {
54361
54688
  parameters: {
54362
54689
  query?: never;
54363
54690
  header?: never;
54364
54691
  path?: never;
54365
54692
  cookie?: never;
54366
54693
  };
54367
- requestBody?: {
54368
- content: {
54369
- "application/json": {
54370
- /** @description Value in cents (100 = 1€) */
54371
- amount: number;
54372
- currency?: string | null;
54373
- };
54374
- };
54375
- };
54694
+ requestBody?: never;
54376
54695
  responses: {
54377
54696
  /** @description Successful response */
54378
54697
  200: {
@@ -54472,153 +54791,7 @@ export interface operations {
54472
54791
  };
54473
54792
  };
54474
54793
  };
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: {
54794
+ putTeamsOpeningBalancesTaxPayable: {
54622
54795
  parameters: {
54623
54796
  query?: never;
54624
54797
  header?: never;
@@ -54628,12 +54801,9 @@ export interface operations {
54628
54801
  requestBody?: {
54629
54802
  content: {
54630
54803
  "application/json": {
54631
- rows: {
54632
- /** Format: uuid */
54633
- accountId: string;
54634
- /** @description Value in cents (100 = 1€) */
54635
- combinedCentTotal: number;
54636
- }[];
54804
+ /** @description Value in cents (100 = 1€) */
54805
+ amount: number;
54806
+ currency?: string | null;
54637
54807
  };
54638
54808
  };
54639
54809
  };
@@ -54645,51 +54815,12 @@ export interface operations {
54645
54815
  };
54646
54816
  content: {
54647
54817
  "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
- };
54818
+ /** @description Value in cents (100 = 1€) */
54819
+ amount: number;
54820
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
54821
+ currency: string;
54822
+ updatedAt?: string | null;
54823
+ transactionId?: string | null;
54693
54824
  };
54694
54825
  };
54695
54826
  };
@@ -57410,7 +57541,7 @@ export interface operations {
57410
57541
  uniqueRef?: string | null;
57411
57542
  isOpeningBalance: boolean;
57412
57543
  /** @enum {string} */
57413
- type: "deposit" | "expense" | "transfer" | "payout";
57544
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
57414
57545
  date: string;
57415
57546
  lines?: {
57416
57547
  uniqueRef?: string | null;
@@ -57844,7 +57975,7 @@ export interface operations {
57844
57975
  uniqueRef?: string | null;
57845
57976
  isOpeningBalance: boolean;
57846
57977
  /** @enum {string} */
57847
- type: "deposit" | "expense" | "transfer" | "payout";
57978
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
57848
57979
  date: string;
57849
57980
  lines: {
57850
57981
  uniqueRef?: string | null;
@@ -60813,7 +60944,7 @@ export interface operations {
60813
60944
  uniqueRef?: string | null;
60814
60945
  isOpeningBalance: boolean;
60815
60946
  /** @enum {string} */
60816
- type: "deposit" | "expense" | "transfer" | "payout";
60947
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
60817
60948
  date: string;
60818
60949
  lines: {
60819
60950
  uniqueRef?: string | null;
@@ -61303,7 +61434,7 @@ export interface operations {
61303
61434
  uniqueRef?: string | null;
61304
61435
  isOpeningBalance: boolean;
61305
61436
  /** @enum {string} */
61306
- type: "deposit" | "expense" | "transfer" | "payout";
61437
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
61307
61438
  date: string;
61308
61439
  lines: {
61309
61440
  uniqueRef?: string | null;
@@ -61789,7 +61920,7 @@ export interface operations {
61789
61920
  uniqueRef?: string | null;
61790
61921
  isOpeningBalance: boolean;
61791
61922
  /** @enum {string} */
61792
- type: "deposit" | "expense" | "transfer" | "payout";
61923
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
61793
61924
  date: string;
61794
61925
  lines: {
61795
61926
  uniqueRef?: string | null;
@@ -62281,7 +62412,7 @@ export interface operations {
62281
62412
  uniqueRef?: string | null;
62282
62413
  isOpeningBalance: boolean;
62283
62414
  /** @enum {string} */
62284
- type: "deposit" | "expense" | "transfer" | "payout";
62415
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
62285
62416
  date: string;
62286
62417
  lines: {
62287
62418
  uniqueRef?: string | null;