@vrplatform/api 1.3.1-4040 → 1.3.1-4048

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