@vrplatform/api 1.3.1-4036 → 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.
@@ -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 */
@@ -15130,6 +15131,8 @@ export interface operations {
15130
15131
  /** @default false */
15131
15132
  useGlobalMapping: boolean;
15132
15133
  description?: string | null;
15134
+ /** @default [] */
15135
+ eventListening: string[];
15133
15136
  /** @description Mapping schema configuration for this flow */
15134
15137
  mappingSchema: {
15135
15138
  [key: string]: {
@@ -15304,6 +15307,8 @@ export interface operations {
15304
15307
  /** @default false */
15305
15308
  useGlobalMapping: boolean;
15306
15309
  description?: string | null;
15310
+ /** @default [] */
15311
+ eventListening: string[];
15307
15312
  /** @description Mapping schema configuration for this flow */
15308
15313
  mappingSchema: {
15309
15314
  [key: string]: {
@@ -16731,124 +16736,7 @@ export interface operations {
16731
16736
  };
16732
16737
  };
16733
16738
  };
16734
- getInternalBookingChannels: {
16735
- parameters: {
16736
- query?: never;
16737
- header?: never;
16738
- path?: never;
16739
- cookie?: never;
16740
- };
16741
- requestBody?: never;
16742
- responses: {
16743
- /** @description Successful response */
16744
- 200: {
16745
- headers: {
16746
- [name: string]: unknown;
16747
- };
16748
- content: {
16749
- "application/json": {
16750
- data: {
16751
- /** Format: uuid */
16752
- id: string;
16753
- uniqueRef: string;
16754
- channelRef: string | null;
16755
- icon: string | null;
16756
- logo: string | null;
16757
- color: string | null;
16758
- iconProvider: ("cloudflare" | "logo_dev") | null;
16759
- logoProvider: ("cloudflare" | "logo_dev") | null;
16760
- lastGenerateRun: string | null;
16761
- usageCount: number;
16762
- iconCandidateCount: number;
16763
- selectedBookingChannelIconCandidateId: string | null;
16764
- selectedBookingChannelLogoCandidateId: string | null;
16765
- }[];
16766
- };
16767
- };
16768
- };
16769
- /** @description Bad request */
16770
- 400: {
16771
- headers: {
16772
- [name: string]: unknown;
16773
- };
16774
- content: {
16775
- "application/json": {
16776
- code: string;
16777
- message: string;
16778
- issues?: {
16779
- message: string;
16780
- }[];
16781
- context?: unknown;
16782
- };
16783
- };
16784
- };
16785
- /** @description Unauthorized */
16786
- 401: {
16787
- headers: {
16788
- [name: string]: unknown;
16789
- };
16790
- content: {
16791
- "application/json": {
16792
- code: string;
16793
- message: string;
16794
- issues?: {
16795
- message: string;
16796
- }[];
16797
- context?: unknown;
16798
- };
16799
- };
16800
- };
16801
- /** @description Forbidden */
16802
- 403: {
16803
- headers: {
16804
- [name: string]: unknown;
16805
- };
16806
- content: {
16807
- "application/json": {
16808
- code: string;
16809
- message: string;
16810
- issues?: {
16811
- message: string;
16812
- }[];
16813
- context?: unknown;
16814
- };
16815
- };
16816
- };
16817
- /** @description Not found */
16818
- 404: {
16819
- headers: {
16820
- [name: string]: unknown;
16821
- };
16822
- content: {
16823
- "application/json": {
16824
- code: string;
16825
- message: string;
16826
- issues?: {
16827
- message: string;
16828
- }[];
16829
- context?: unknown;
16830
- };
16831
- };
16832
- };
16833
- /** @description Internal server error */
16834
- 500: {
16835
- headers: {
16836
- [name: string]: unknown;
16837
- };
16838
- content: {
16839
- "application/json": {
16840
- code: string;
16841
- message: string;
16842
- issues?: {
16843
- message: string;
16844
- }[];
16845
- context?: unknown;
16846
- };
16847
- };
16848
- };
16849
- };
16850
- };
16851
- postInternalBookingChannelsBulkGenerateIconCandidates: {
16739
+ postGeneralLedgerHistorical: {
16852
16740
  parameters: {
16853
16741
  query?: never;
16854
16742
  header?: never;
@@ -16858,7 +16746,25 @@ export interface operations {
16858
16746
  requestBody?: {
16859
16747
  content: {
16860
16748
  "application/json": {
16861
- 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
+ }[];
16862
16768
  };
16863
16769
  };
16864
16770
  };
@@ -16870,20 +16776,11 @@ export interface operations {
16870
16776
  };
16871
16777
  content: {
16872
16778
  "application/json": {
16873
- successes: {
16874
- /** Format: uuid */
16875
- bookingChannelId: string;
16876
- uniqueRef: string;
16877
- generatedCandidateCount: number;
16878
- }[];
16879
- failures: {
16880
- /** Format: uuid */
16881
- bookingChannelId: string;
16882
- uniqueRef: string | null;
16883
- investigatedHomepageUrl: string | null;
16884
- investigatedDomain: string | null;
16885
- error: string;
16886
- }[];
16779
+ uniqueRef: string;
16780
+ replaced: boolean;
16781
+ transactionCount: number;
16782
+ journalEntryCount: number;
16783
+ transactionIds: string[];
16887
16784
  };
16888
16785
  };
16889
16786
  };
@@ -16969,24 +16866,14 @@ export interface operations {
16969
16866
  };
16970
16867
  };
16971
16868
  };
16972
- postInternalBookingChannelsBulkSetAssets: {
16869
+ getGeneralLedgerOpeningTrialBalance: {
16973
16870
  parameters: {
16974
16871
  query?: never;
16975
16872
  header?: never;
16976
16873
  path?: never;
16977
16874
  cookie?: never;
16978
16875
  };
16979
- requestBody?: {
16980
- content: {
16981
- "application/json": {
16982
- /** Format: uuid */
16983
- sourceBookingChannelId: string;
16984
- targetBookingChannelIds: string[];
16985
- /** @enum {string} */
16986
- type: "icon" | "logo";
16987
- };
16988
- };
16989
- };
16876
+ requestBody?: never;
16990
16877
  responses: {
16991
16878
  /** @description Successful response */
16992
16879
  200: {
@@ -16995,19 +16882,51 @@ export interface operations {
16995
16882
  };
16996
16883
  content: {
16997
16884
  "application/json": {
16998
- /** Format: uuid */
16999
- sourceBookingChannelId: string;
17000
- /** @enum {string} */
17001
- type: "icon" | "logo";
17002
- 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;
17003
16892
  /** Format: uuid */
17004
- bookingChannelId: string;
17005
- }[];
17006
- failures: {
16893
+ externalConnectionId?: string;
16894
+ };
16895
+ locked: boolean;
16896
+ lockReasons: string[];
16897
+ rows: {
17007
16898
  /** Format: uuid */
17008
- bookingChannelId: string;
17009
- 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;
17010
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
+ };
17011
16930
  };
17012
16931
  };
17013
16932
  };
@@ -17093,7 +17012,7 @@ export interface operations {
17093
17012
  };
17094
17013
  };
17095
17014
  };
17096
- postInternalBookingChannelsGenerateIconCandidates: {
17015
+ putGeneralLedgerOpeningTrialBalance: {
17097
17016
  parameters: {
17098
17017
  query?: never;
17099
17018
  header?: never;
@@ -17103,8 +17022,12 @@ export interface operations {
17103
17022
  requestBody?: {
17104
17023
  content: {
17105
17024
  "application/json": {
17106
- uniqueRef: string;
17107
- domain?: string | null;
17025
+ rows: {
17026
+ /** Format: uuid */
17027
+ accountId: string;
17028
+ /** @description Value in cents (100 = 1€) */
17029
+ combinedCentTotal: number;
17030
+ }[];
17108
17031
  };
17109
17032
  };
17110
17033
  };
@@ -17116,40 +17039,51 @@ export interface operations {
17116
17039
  };
17117
17040
  content: {
17118
17041
  "application/json": {
17119
- /** Format: uuid */
17120
- bookingChannelId: string;
17121
- uniqueRef: string;
17122
- channelRef: string | null;
17123
- 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;
17124
17049
  /** Format: uuid */
17125
- id: string;
17050
+ externalConnectionId?: string;
17051
+ };
17052
+ locked: boolean;
17053
+ lockReasons: string[];
17054
+ rows: {
17126
17055
  /** Format: uuid */
17127
- bookingChannelId: string;
17056
+ accountId: string;
17057
+ accountName: string;
17128
17058
  /** @enum {string} */
17129
- provider: "cloudflare" | "logo_dev";
17130
- cloudflareImageId: string | null;
17131
- icon: string | null;
17132
- width: number | null;
17133
- height: number | null;
17134
- color: string | null;
17135
- source: string | null;
17136
- comment: string | null;
17137
- isSelected: boolean;
17138
- isSelectedForIcon: boolean;
17139
- isSelectedForLogo: boolean;
17140
- /**
17141
- * Format: date-time
17142
- * @description Timestamp string with date, time, milliseconds, and timezone.
17143
- * @example 2024-01-15T12:30:00.000+00:00
17144
- */
17145
- createdAt: string;
17146
- /**
17147
- * Format: date-time
17148
- * @description Timestamp string with date, time, milliseconds, and timezone.
17149
- * @example 2024-01-15T12:30:00.000+00:00
17150
- */
17151
- 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;
17152
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
+ };
17153
17087
  };
17154
17088
  };
17155
17089
  };
@@ -17235,13 +17169,11 @@ export interface operations {
17235
17169
  };
17236
17170
  };
17237
17171
  };
17238
- getInternalBookingChannelsByBookingChannelIdIconCandidates: {
17172
+ getInternalBookingChannels: {
17239
17173
  parameters: {
17240
17174
  query?: never;
17241
17175
  header?: never;
17242
- path: {
17243
- bookingChannelId: string;
17244
- };
17176
+ path?: never;
17245
17177
  cookie?: never;
17246
17178
  };
17247
17179
  requestBody?: never;
@@ -17256,32 +17188,18 @@ export interface operations {
17256
17188
  data: {
17257
17189
  /** Format: uuid */
17258
17190
  id: string;
17259
- /** Format: uuid */
17260
- bookingChannelId: string;
17261
- /** @enum {string} */
17262
- provider: "cloudflare" | "logo_dev";
17263
- cloudflareImageId: string | null;
17191
+ uniqueRef: string;
17192
+ channelRef: string | null;
17264
17193
  icon: string | null;
17265
- width: number | null;
17266
- height: number | null;
17194
+ logo: string | null;
17267
17195
  color: string | null;
17268
- source: string | null;
17269
- comment: string | null;
17270
- isSelected: boolean;
17271
- isSelectedForIcon: boolean;
17272
- isSelectedForLogo: boolean;
17273
- /**
17274
- * Format: date-time
17275
- * @description Timestamp string with date, time, milliseconds, and timezone.
17276
- * @example 2024-01-15T12:30:00.000+00:00
17277
- */
17278
- createdAt: string;
17279
- /**
17280
- * Format: date-time
17281
- * @description Timestamp string with date, time, milliseconds, and timezone.
17282
- * @example 2024-01-15T12:30:00.000+00:00
17283
- */
17284
- 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;
17285
17203
  }[];
17286
17204
  };
17287
17205
  };
@@ -17368,16 +17286,20 @@ export interface operations {
17368
17286
  };
17369
17287
  };
17370
17288
  };
17371
- postInternalBookingChannelsByBookingChannelIdIconCandidates: {
17289
+ postInternalBookingChannelsBulkGenerateIconCandidates: {
17372
17290
  parameters: {
17373
17291
  query?: never;
17374
17292
  header?: never;
17375
- path: {
17376
- bookingChannelId: string;
17377
- };
17293
+ path?: never;
17378
17294
  cookie?: never;
17379
17295
  };
17380
- requestBody?: never;
17296
+ requestBody?: {
17297
+ content: {
17298
+ "application/json": {
17299
+ bookingChannelIds: string[];
17300
+ };
17301
+ };
17302
+ };
17381
17303
  responses: {
17382
17304
  /** @description Successful response */
17383
17305
  200: {
@@ -17386,34 +17308,20 @@ export interface operations {
17386
17308
  };
17387
17309
  content: {
17388
17310
  "application/json": {
17389
- /** Format: uuid */
17390
- id: string;
17391
- /** Format: uuid */
17392
- bookingChannelId: string;
17393
- /** @enum {string} */
17394
- provider: "cloudflare" | "logo_dev";
17395
- cloudflareImageId: string | null;
17396
- icon: string | null;
17397
- width: number | null;
17398
- height: number | null;
17399
- color: string | null;
17400
- source: string | null;
17401
- comment: string | null;
17402
- isSelected: boolean;
17403
- isSelectedForIcon: boolean;
17404
- isSelectedForLogo: boolean;
17405
- /**
17406
- * Format: date-time
17407
- * @description Timestamp string with date, time, milliseconds, and timezone.
17408
- * @example 2024-01-15T12:30:00.000+00:00
17409
- */
17410
- createdAt: string;
17411
- /**
17412
- * Format: date-time
17413
- * @description Timestamp string with date, time, milliseconds, and timezone.
17414
- * @example 2024-01-15T12:30:00.000+00:00
17415
- */
17416
- 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
+ }[];
17417
17325
  };
17418
17326
  };
17419
17327
  };
@@ -17499,19 +17407,22 @@ export interface operations {
17499
17407
  };
17500
17408
  };
17501
17409
  };
17502
- deleteInternalBookingChannelsByBookingChannelIdIconCandidatesByCandidateId: {
17410
+ postInternalBookingChannelsBulkSetAssets: {
17503
17411
  parameters: {
17504
17412
  query?: never;
17505
17413
  header?: never;
17506
- path: {
17507
- bookingChannelId: string;
17508
- candidateId: string;
17509
- };
17414
+ path?: never;
17510
17415
  cookie?: never;
17511
17416
  };
17512
17417
  requestBody?: {
17513
17418
  content: {
17514
- "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
+ };
17515
17426
  };
17516
17427
  };
17517
17428
  responses: {
@@ -17523,17 +17434,18 @@ export interface operations {
17523
17434
  content: {
17524
17435
  "application/json": {
17525
17436
  /** Format: uuid */
17526
- id: string;
17527
- uniqueRef: string;
17528
- channelRef: string | null;
17529
- icon: string | null;
17530
- logo: string | null;
17531
- color: string | null;
17532
- iconProvider: ("cloudflare" | "logo_dev") | null;
17533
- logoProvider: ("cloudflare" | "logo_dev") | null;
17534
- selectedBookingChannelIconCandidateId: string | null;
17535
- selectedBookingChannelLogoCandidateId: string | null;
17536
- 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
+ }[];
17537
17449
  };
17538
17450
  };
17539
17451
  };
@@ -17619,20 +17531,18 @@ export interface operations {
17619
17531
  };
17620
17532
  };
17621
17533
  };
17622
- patchInternalBookingChannelsByBookingChannelIdIconCandidatesByCandidateId: {
17534
+ postInternalBookingChannelsGenerateIconCandidates: {
17623
17535
  parameters: {
17624
17536
  query?: never;
17625
17537
  header?: never;
17626
- path: {
17627
- bookingChannelId: string;
17628
- candidateId: string;
17629
- };
17538
+ path?: never;
17630
17539
  cookie?: never;
17631
17540
  };
17632
17541
  requestBody?: {
17633
17542
  content: {
17634
17543
  "application/json": {
17635
- comment: string | null;
17544
+ uniqueRef: string;
17545
+ domain?: string | null;
17636
17546
  };
17637
17547
  };
17638
17548
  };
@@ -17644,34 +17554,562 @@ export interface operations {
17644
17554
  };
17645
17555
  content: {
17646
17556
  "application/json": {
17647
- /** Format: uuid */
17648
- id: string;
17649
17557
  /** Format: uuid */
17650
17558
  bookingChannelId: string;
17651
- /** @enum {string} */
17652
- provider: "cloudflare" | "logo_dev";
17653
- cloudflareImageId: string | null;
17654
- icon: string | null;
17655
- width: number | null;
17656
- height: number | null;
17657
- color: string | null;
17658
- source: string | null;
17659
- comment: string | null;
17660
- isSelected: boolean;
17661
- isSelectedForIcon: boolean;
17662
- isSelectedForLogo: boolean;
17663
- /**
17664
- * Format: date-time
17665
- * @description Timestamp string with date, time, milliseconds, and timezone.
17666
- * @example 2024-01-15T12:30:00.000+00:00
17667
- */
17668
- createdAt: string;
17669
- /**
17670
- * Format: date-time
17671
- * @description Timestamp string with date, time, milliseconds, and timezone.
17672
- * @example 2024-01-15T12:30:00.000+00:00
17673
- */
17674
- 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;
17675
18113
  };
17676
18114
  };
17677
18115
  };
@@ -26067,7 +26505,7 @@ export interface operations {
26067
26505
  };
26068
26506
  lines: {
26069
26507
  name: string;
26070
- 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;
26071
26509
  party?: ("owners" | "manager") | null;
26072
26510
  /** @enum {string} */
26073
26511
  status: "active" | "inactive";
@@ -26110,7 +26548,7 @@ export interface operations {
26110
26548
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
26111
26549
  currency: string;
26112
26550
  /** @enum {string} */
26113
- type: "deposit" | "expense" | "transfer" | "payout";
26551
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
26114
26552
  isOpeningBalance: boolean;
26115
26553
  contact?: {
26116
26554
  /** Format: uuid */
@@ -28702,7 +29140,7 @@ export interface operations {
28702
29140
  txnAt: string;
28703
29141
  description: string;
28704
29142
  centTotal: number;
28705
- 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";
28706
29144
  reservationId?: string;
28707
29145
  transactionId?: string;
28708
29146
  ownerStatementId?: string;
@@ -29894,7 +30332,7 @@ export interface operations {
29894
30332
  txnAt: string;
29895
30333
  description: string;
29896
30334
  centTotal: number;
29897
- 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";
29898
30336
  reservationId?: string;
29899
30337
  transactionId?: string;
29900
30338
  ownerStatementId?: string;
@@ -37379,7 +37817,7 @@ export interface operations {
37379
37817
  };
37380
37818
  lines?: {
37381
37819
  name: string;
37382
- 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;
37383
37821
  party?: ("owners" | "manager") | null;
37384
37822
  /** @enum {string} */
37385
37823
  status: "active" | "inactive";
@@ -37421,7 +37859,7 @@ export interface operations {
37421
37859
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
37422
37860
  currency: string;
37423
37861
  /** @enum {string} */
37424
- type: "deposit" | "expense" | "transfer" | "payout";
37862
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
37425
37863
  isOpeningBalance: boolean;
37426
37864
  contact?: {
37427
37865
  /** Format: uuid */
@@ -38125,6 +38563,7 @@ export interface operations {
38125
38563
  status: "mapped" | "unmapped" | "excluded";
38126
38564
  revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
38127
38565
  type: string;
38566
+ appId?: string | null;
38128
38567
  description?: string | null;
38129
38568
  /** @enum {string} */
38130
38569
  source: "manual" | "synced";
@@ -38270,6 +38709,7 @@ export interface operations {
38270
38709
  status: "mapped" | "unmapped" | "excluded";
38271
38710
  revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
38272
38711
  type: string;
38712
+ appId?: string | null;
38273
38713
  description?: string | null;
38274
38714
  /** @enum {string} */
38275
38715
  source: "manual" | "synced";
@@ -38519,6 +38959,7 @@ export interface operations {
38519
38959
  status: "mapped" | "unmapped" | "excluded";
38520
38960
  revenueRecognition?: ("checkIn" | "checkOut" | "bookedAt" | "proRata") | null;
38521
38961
  type: string;
38962
+ appId?: string | null;
38522
38963
  description?: string | null;
38523
38964
  /** @enum {string} */
38524
38965
  source: "manual" | "synced";
@@ -38798,7 +39239,7 @@ export interface operations {
38798
39239
  };
38799
39240
  lines?: {
38800
39241
  name: string;
38801
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | null;
39242
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "historical_general_ledger" | "opening_trial_balance") | null;
38802
39243
  party?: ("owners" | "manager") | null;
38803
39244
  /** @enum {string} */
38804
39245
  status: "active" | "inactive";
@@ -38840,7 +39281,7 @@ export interface operations {
38840
39281
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
38841
39282
  currency: string;
38842
39283
  /** @enum {string} */
38843
- type: "deposit" | "expense" | "transfer" | "payout";
39284
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
38844
39285
  isOpeningBalance: boolean;
38845
39286
  contact?: {
38846
39287
  /** Format: uuid */
@@ -39390,7 +39831,7 @@ export interface operations {
39390
39831
  };
39391
39832
  lines?: {
39392
39833
  name: string;
39393
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | null;
39834
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "historical_general_ledger" | "opening_trial_balance") | null;
39394
39835
  party?: ("owners" | "manager") | null;
39395
39836
  /** @enum {string} */
39396
39837
  status: "active" | "inactive";
@@ -39432,7 +39873,7 @@ export interface operations {
39432
39873
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
39433
39874
  currency: string;
39434
39875
  /** @enum {string} */
39435
- type: "deposit" | "expense" | "transfer" | "payout";
39876
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
39436
39877
  isOpeningBalance: boolean;
39437
39878
  contact?: {
39438
39879
  /** Format: uuid */
@@ -40098,7 +40539,7 @@ export interface operations {
40098
40539
  };
40099
40540
  lines?: {
40100
40541
  name: string;
40101
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | null;
40542
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "historical_general_ledger" | "opening_trial_balance") | null;
40102
40543
  party?: ("owners" | "manager") | null;
40103
40544
  /** @enum {string} */
40104
40545
  status: "active" | "inactive";
@@ -40140,7 +40581,7 @@ export interface operations {
40140
40581
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
40141
40582
  currency: string;
40142
40583
  /** @enum {string} */
40143
- type: "deposit" | "expense" | "transfer" | "payout";
40584
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
40144
40585
  isOpeningBalance: boolean;
40145
40586
  contact?: {
40146
40587
  /** Format: uuid */
@@ -40580,7 +41021,7 @@ export interface operations {
40580
41021
  };
40581
41022
  lines?: {
40582
41023
  name: string;
40583
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | null;
41024
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "historical_general_ledger" | "opening_trial_balance") | null;
40584
41025
  party?: ("owners" | "manager") | null;
40585
41026
  /** @enum {string} */
40586
41027
  status: "active" | "inactive";
@@ -40622,7 +41063,7 @@ export interface operations {
40622
41063
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
40623
41064
  currency: string;
40624
41065
  /** @enum {string} */
40625
- type: "deposit" | "expense" | "transfer" | "payout";
41066
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
40626
41067
  isOpeningBalance: boolean;
40627
41068
  contact?: {
40628
41069
  /** Format: uuid */
@@ -41048,7 +41489,7 @@ export interface operations {
41048
41489
  };
41049
41490
  lines?: {
41050
41491
  name: string;
41051
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | null;
41492
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "historical_general_ledger" | "opening_trial_balance") | null;
41052
41493
  party?: ("owners" | "manager") | null;
41053
41494
  /** @enum {string} */
41054
41495
  status: "active" | "inactive";
@@ -41090,7 +41531,7 @@ export interface operations {
41090
41531
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
41091
41532
  currency: string;
41092
41533
  /** @enum {string} */
41093
- type: "deposit" | "expense" | "transfer" | "payout";
41534
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
41094
41535
  isOpeningBalance: boolean;
41095
41536
  contact?: {
41096
41537
  /** Format: uuid */
@@ -46681,7 +47122,7 @@ export interface operations {
46681
47122
  uniqueRef?: string | null;
46682
47123
  isOpeningBalance: boolean;
46683
47124
  /** @enum {string} */
46684
- type: "deposit" | "expense" | "transfer" | "payout";
47125
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
46685
47126
  date: string;
46686
47127
  lines: {
46687
47128
  uniqueRef?: string | null;
@@ -53265,271 +53706,17 @@ export interface operations {
53265
53706
  };
53266
53707
  };
53267
53708
  };
53268
- getTeamsMigrateVriToVrtStatementsAccountMappings: {
53269
- parameters: {
53270
- query: {
53271
- sourceTenantId: string;
53272
- targetTenantId: string;
53273
- };
53274
- header?: never;
53275
- path?: never;
53276
- cookie?: never;
53277
- };
53278
- requestBody?: never;
53279
- responses: {
53280
- /** @description Successful response */
53281
- 200: {
53282
- headers: {
53283
- [name: string]: unknown;
53284
- };
53285
- content: {
53286
- "application/json": {
53287
- effectiveGlStartAt: string;
53288
- oldAccounts: {
53289
- legacyAccount: {
53290
- key: string;
53291
- ref?: string | null;
53292
- name: string;
53293
- classification?: string | null;
53294
- };
53295
- sources: ("template" | "line")[];
53296
- suggestedTargetAccount: {
53297
- /** Format: uuid */
53298
- id: string;
53299
- title: string;
53300
- } | null;
53301
- currentTargetAccount: {
53302
- /** Format: uuid */
53303
- id: string;
53304
- title: string;
53305
- } | null;
53306
- }[];
53307
- newAccounts: {
53308
- /** Format: uuid */
53309
- id: string;
53310
- title: string;
53311
- category: {
53312
- /** Format: uuid */
53313
- id: string;
53314
- name: string;
53315
- /** @enum {string} */
53316
- classification: "asset" | "liability" | "revenue" | "expense";
53317
- };
53318
- type: string;
53319
- status?: string | null;
53320
- }[];
53321
- };
53322
- };
53323
- };
53324
- /** @description Bad request */
53325
- 400: {
53326
- headers: {
53327
- [name: string]: unknown;
53328
- };
53329
- content: {
53330
- "application/json": {
53331
- code: string;
53332
- message: string;
53333
- issues?: {
53334
- message: string;
53335
- }[];
53336
- context?: unknown;
53337
- };
53338
- };
53339
- };
53340
- /** @description Unauthorized */
53341
- 401: {
53342
- headers: {
53343
- [name: string]: unknown;
53344
- };
53345
- content: {
53346
- "application/json": {
53347
- code: string;
53348
- message: string;
53349
- issues?: {
53350
- message: string;
53351
- }[];
53352
- context?: unknown;
53353
- };
53354
- };
53355
- };
53356
- /** @description Forbidden */
53357
- 403: {
53358
- headers: {
53359
- [name: string]: unknown;
53360
- };
53361
- content: {
53362
- "application/json": {
53363
- code: string;
53364
- message: string;
53365
- issues?: {
53366
- message: string;
53367
- }[];
53368
- context?: unknown;
53369
- };
53370
- };
53371
- };
53372
- /** @description Not found */
53373
- 404: {
53374
- headers: {
53375
- [name: string]: unknown;
53376
- };
53377
- content: {
53378
- "application/json": {
53379
- code: string;
53380
- message: string;
53381
- issues?: {
53382
- message: string;
53383
- }[];
53384
- context?: unknown;
53385
- };
53386
- };
53387
- };
53388
- /** @description Internal server error */
53389
- 500: {
53390
- headers: {
53391
- [name: string]: unknown;
53392
- };
53393
- content: {
53394
- "application/json": {
53395
- code: string;
53396
- message: string;
53397
- issues?: {
53398
- message: string;
53399
- }[];
53400
- context?: unknown;
53401
- };
53402
- };
53403
- };
53404
- };
53405
- };
53406
- getTeamsOpeningBalancesAccountsPayable: {
53407
- parameters: {
53408
- query: {
53409
- party: "owners" | "manager";
53410
- };
53411
- header?: never;
53412
- path?: never;
53413
- cookie?: never;
53414
- };
53415
- requestBody?: never;
53416
- responses: {
53417
- /** @description Successful response */
53418
- 200: {
53419
- headers: {
53420
- [name: string]: unknown;
53421
- };
53422
- content: {
53423
- "application/json": {
53424
- /** @description Value in cents (100 = 1€) */
53425
- amount: number;
53426
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
53427
- currency: string;
53428
- updatedAt?: string | null;
53429
- transactionId?: string | null;
53430
- };
53431
- };
53432
- };
53433
- /** @description Bad request */
53434
- 400: {
53435
- headers: {
53436
- [name: string]: unknown;
53437
- };
53438
- content: {
53439
- "application/json": {
53440
- code: string;
53441
- message: string;
53442
- issues?: {
53443
- message: string;
53444
- }[];
53445
- context?: unknown;
53446
- };
53447
- };
53448
- };
53449
- /** @description Unauthorized */
53450
- 401: {
53451
- headers: {
53452
- [name: string]: unknown;
53453
- };
53454
- content: {
53455
- "application/json": {
53456
- code: string;
53457
- message: string;
53458
- issues?: {
53459
- message: string;
53460
- }[];
53461
- context?: unknown;
53462
- };
53463
- };
53464
- };
53465
- /** @description Forbidden */
53466
- 403: {
53467
- headers: {
53468
- [name: string]: unknown;
53469
- };
53470
- content: {
53471
- "application/json": {
53472
- code: string;
53473
- message: string;
53474
- issues?: {
53475
- message: string;
53476
- }[];
53477
- context?: unknown;
53478
- };
53479
- };
53480
- };
53481
- /** @description Not found */
53482
- 404: {
53483
- headers: {
53484
- [name: string]: unknown;
53485
- };
53486
- content: {
53487
- "application/json": {
53488
- code: string;
53489
- message: string;
53490
- issues?: {
53491
- message: string;
53492
- }[];
53493
- context?: unknown;
53494
- };
53495
- };
53496
- };
53497
- /** @description Internal server error */
53498
- 500: {
53499
- headers: {
53500
- [name: string]: unknown;
53501
- };
53502
- content: {
53503
- "application/json": {
53504
- code: string;
53505
- message: string;
53506
- issues?: {
53507
- message: string;
53508
- }[];
53509
- context?: unknown;
53510
- };
53511
- };
53512
- };
53513
- };
53514
- };
53515
- putTeamsOpeningBalancesAccountsPayable: {
53709
+ getTeamsMigrateVriToVrtStatementsAccountMappings: {
53516
53710
  parameters: {
53517
- query?: never;
53711
+ query: {
53712
+ sourceTenantId: string;
53713
+ targetTenantId: string;
53714
+ };
53518
53715
  header?: never;
53519
53716
  path?: never;
53520
53717
  cookie?: never;
53521
53718
  };
53522
- requestBody?: {
53523
- content: {
53524
- "application/json": {
53525
- /** @enum {string} */
53526
- party: "owners" | "manager";
53527
- /** @description Value in cents (100 = 1€) */
53528
- amount: number;
53529
- currency?: string | null;
53530
- };
53531
- };
53532
- };
53719
+ requestBody?: never;
53533
53720
  responses: {
53534
53721
  /** @description Successful response */
53535
53722
  200: {
@@ -53538,12 +53725,40 @@ export interface operations {
53538
53725
  };
53539
53726
  content: {
53540
53727
  "application/json": {
53541
- /** @description Value in cents (100 = 1€) */
53542
- amount: number;
53543
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
53544
- currency: string;
53545
- updatedAt?: string | null;
53546
- transactionId?: string | null;
53728
+ effectiveGlStartAt: string;
53729
+ oldAccounts: {
53730
+ legacyAccount: {
53731
+ key: string;
53732
+ ref?: string | null;
53733
+ name: string;
53734
+ classification?: string | null;
53735
+ };
53736
+ sources: ("template" | "line")[];
53737
+ suggestedTargetAccount: {
53738
+ /** Format: uuid */
53739
+ id: string;
53740
+ title: string;
53741
+ } | null;
53742
+ currentTargetAccount: {
53743
+ /** Format: uuid */
53744
+ id: string;
53745
+ title: string;
53746
+ } | null;
53747
+ }[];
53748
+ newAccounts: {
53749
+ /** Format: uuid */
53750
+ id: string;
53751
+ title: string;
53752
+ category: {
53753
+ /** Format: uuid */
53754
+ id: string;
53755
+ name: string;
53756
+ /** @enum {string} */
53757
+ classification: "asset" | "liability" | "revenue" | "expense";
53758
+ };
53759
+ type: string;
53760
+ status?: string | null;
53761
+ }[];
53547
53762
  };
53548
53763
  };
53549
53764
  };
@@ -53629,9 +53844,11 @@ export interface operations {
53629
53844
  };
53630
53845
  };
53631
53846
  };
53632
- getTeamsOpeningBalancesAccountsReceivableDeferredRevenue: {
53847
+ getTeamsOpeningBalancesAccountsPayable: {
53633
53848
  parameters: {
53634
- query?: never;
53849
+ query: {
53850
+ party: "owners" | "manager";
53851
+ };
53635
53852
  header?: never;
53636
53853
  path?: never;
53637
53854
  cookie?: never;
@@ -53651,10 +53868,6 @@ export interface operations {
53651
53868
  currency: string;
53652
53869
  updatedAt?: string | null;
53653
53870
  transactionId?: string | null;
53654
- /** @description Value in cents (100 = 1€) */
53655
- accountsReceivableAmount: number;
53656
- /** @description Value in cents (100 = 1€) */
53657
- deferredRevenueAmount: number;
53658
53871
  };
53659
53872
  };
53660
53873
  };
@@ -53740,7 +53953,7 @@ export interface operations {
53740
53953
  };
53741
53954
  };
53742
53955
  };
53743
- putTeamsOpeningBalancesAccountsReceivableDeferredRevenue: {
53956
+ putTeamsOpeningBalancesAccountsPayable: {
53744
53957
  parameters: {
53745
53958
  query?: never;
53746
53959
  header?: never;
@@ -53750,10 +53963,10 @@ export interface operations {
53750
53963
  requestBody?: {
53751
53964
  content: {
53752
53965
  "application/json": {
53966
+ /** @enum {string} */
53967
+ party: "owners" | "manager";
53753
53968
  /** @description Value in cents (100 = 1€) */
53754
- accountsReceivableAmount: number;
53755
- /** @description Value in cents (100 = 1€) */
53756
- deferredRevenueAmount: number;
53969
+ amount: number;
53757
53970
  currency?: string | null;
53758
53971
  };
53759
53972
  };
@@ -53772,10 +53985,6 @@ export interface operations {
53772
53985
  currency: string;
53773
53986
  updatedAt?: string | null;
53774
53987
  transactionId?: string | null;
53775
- /** @description Value in cents (100 = 1€) */
53776
- accountsReceivableAmount: number;
53777
- /** @description Value in cents (100 = 1€) */
53778
- deferredRevenueAmount: number;
53779
53988
  };
53780
53989
  };
53781
53990
  };
@@ -53861,7 +54070,7 @@ export interface operations {
53861
54070
  };
53862
54071
  };
53863
54072
  };
53864
- getTeamsOpeningBalancesAdvancedDeposits: {
54073
+ getTeamsOpeningBalancesAccountsReceivableDeferredRevenue: {
53865
54074
  parameters: {
53866
54075
  query?: never;
53867
54076
  header?: never;
@@ -53883,17 +54092,10 @@ export interface operations {
53883
54092
  currency: string;
53884
54093
  updatedAt?: string | null;
53885
54094
  transactionId?: string | null;
53886
- account?: {
53887
- /** Format: uuid */
53888
- id: string;
53889
- name: string;
53890
- } | null;
53891
- reservations: {
53892
- reservationId?: string | null;
53893
- listingId?: string | null;
53894
- /** @description Value in cents (100 = 1€) */
53895
- amount: number;
53896
- }[];
54095
+ /** @description Value in cents (100 = 1€) */
54096
+ accountsReceivableAmount: number;
54097
+ /** @description Value in cents (100 = 1€) */
54098
+ deferredRevenueAmount: number;
53897
54099
  };
53898
54100
  };
53899
54101
  };
@@ -53979,7 +54181,7 @@ export interface operations {
53979
54181
  };
53980
54182
  };
53981
54183
  };
53982
- putTeamsOpeningBalancesAdvancedDeposits: {
54184
+ putTeamsOpeningBalancesAccountsReceivableDeferredRevenue: {
53983
54185
  parameters: {
53984
54186
  query?: never;
53985
54187
  header?: never;
@@ -53989,18 +54191,125 @@ export interface operations {
53989
54191
  requestBody?: {
53990
54192
  content: {
53991
54193
  "application/json": {
53992
- accountId?: string | null;
54194
+ /** @description Value in cents (100 = 1€) */
54195
+ accountsReceivableAmount: number;
54196
+ /** @description Value in cents (100 = 1€) */
54197
+ deferredRevenueAmount: number;
53993
54198
  currency?: string | null;
53994
- reservations: {
53995
- /** Format: uuid */
53996
- reservationId: string;
53997
- listingId?: string | null;
54199
+ };
54200
+ };
54201
+ };
54202
+ responses: {
54203
+ /** @description Successful response */
54204
+ 200: {
54205
+ headers: {
54206
+ [name: string]: unknown;
54207
+ };
54208
+ content: {
54209
+ "application/json": {
53998
54210
  /** @description Value in cents (100 = 1€) */
53999
54211
  amount: number;
54000
- }[];
54212
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
54213
+ currency: string;
54214
+ updatedAt?: string | null;
54215
+ transactionId?: string | null;
54216
+ /** @description Value in cents (100 = 1€) */
54217
+ accountsReceivableAmount: number;
54218
+ /** @description Value in cents (100 = 1€) */
54219
+ deferredRevenueAmount: number;
54220
+ };
54221
+ };
54222
+ };
54223
+ /** @description Bad request */
54224
+ 400: {
54225
+ headers: {
54226
+ [name: string]: unknown;
54227
+ };
54228
+ content: {
54229
+ "application/json": {
54230
+ code: string;
54231
+ message: string;
54232
+ issues?: {
54233
+ message: string;
54234
+ }[];
54235
+ context?: unknown;
54236
+ };
54237
+ };
54238
+ };
54239
+ /** @description Unauthorized */
54240
+ 401: {
54241
+ headers: {
54242
+ [name: string]: unknown;
54243
+ };
54244
+ content: {
54245
+ "application/json": {
54246
+ code: string;
54247
+ message: string;
54248
+ issues?: {
54249
+ message: string;
54250
+ }[];
54251
+ context?: unknown;
54252
+ };
54253
+ };
54254
+ };
54255
+ /** @description Forbidden */
54256
+ 403: {
54257
+ headers: {
54258
+ [name: string]: unknown;
54259
+ };
54260
+ content: {
54261
+ "application/json": {
54262
+ code: string;
54263
+ message: string;
54264
+ issues?: {
54265
+ message: string;
54266
+ }[];
54267
+ context?: unknown;
54268
+ };
54269
+ };
54270
+ };
54271
+ /** @description Not found */
54272
+ 404: {
54273
+ headers: {
54274
+ [name: string]: unknown;
54275
+ };
54276
+ content: {
54277
+ "application/json": {
54278
+ code: string;
54279
+ message: string;
54280
+ issues?: {
54281
+ message: string;
54282
+ }[];
54283
+ context?: unknown;
54284
+ };
54285
+ };
54286
+ };
54287
+ /** @description Internal server error */
54288
+ 500: {
54289
+ headers: {
54290
+ [name: string]: unknown;
54291
+ };
54292
+ content: {
54293
+ "application/json": {
54294
+ code: string;
54295
+ message: string;
54296
+ issues?: {
54297
+ message: string;
54298
+ }[];
54299
+ context?: unknown;
54300
+ };
54001
54301
  };
54002
54302
  };
54003
54303
  };
54304
+ };
54305
+ getTeamsOpeningBalancesAdvancedDeposits: {
54306
+ parameters: {
54307
+ query?: never;
54308
+ header?: never;
54309
+ path?: never;
54310
+ cookie?: never;
54311
+ };
54312
+ requestBody?: never;
54004
54313
  responses: {
54005
54314
  /** @description Successful response */
54006
54315
  200: {
@@ -54111,17 +54420,28 @@ export interface operations {
54111
54420
  };
54112
54421
  };
54113
54422
  };
54114
- getTeamsOpeningBalancesAdvancedDepositsSyncedPaymentsRefunds: {
54423
+ putTeamsOpeningBalancesAdvancedDeposits: {
54115
54424
  parameters: {
54116
- query?: {
54117
- /** @description comma separated list of reservation ids */
54118
- reservationsIds?: string;
54119
- };
54425
+ query?: never;
54120
54426
  header?: never;
54121
54427
  path?: never;
54122
54428
  cookie?: never;
54123
54429
  };
54124
- requestBody?: never;
54430
+ requestBody?: {
54431
+ content: {
54432
+ "application/json": {
54433
+ accountId?: string | null;
54434
+ currency?: string | null;
54435
+ reservations: {
54436
+ /** Format: uuid */
54437
+ reservationId: string;
54438
+ listingId?: string | null;
54439
+ /** @description Value in cents (100 = 1€) */
54440
+ amount: number;
54441
+ }[];
54442
+ };
54443
+ };
54444
+ };
54125
54445
  responses: {
54126
54446
  /** @description Successful response */
54127
54447
  200: {
@@ -54130,36 +54450,22 @@ export interface operations {
54130
54450
  };
54131
54451
  content: {
54132
54452
  "application/json": {
54133
- glStartAt: string;
54134
- /** @enum {string} */
54135
- defaultRevenueRecognition: "checkIn" | "checkOut" | "bookedAt" | "proRata";
54136
- reservations: {
54453
+ /** @description Value in cents (100 = 1€) */
54454
+ amount: number;
54455
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
54456
+ currency: string;
54457
+ updatedAt?: string | null;
54458
+ transactionId?: string | null;
54459
+ account?: {
54137
54460
  /** Format: uuid */
54138
- reservationId: string;
54461
+ id: string;
54462
+ name: string;
54463
+ } | null;
54464
+ reservations: {
54465
+ reservationId?: string | null;
54139
54466
  listingId?: string | null;
54140
- confirmationCode?: string | null;
54141
- guestName?: string | null;
54142
- checkIn?: string | null;
54143
- checkOut?: string | null;
54144
- bookedAt?: string | null;
54145
- reservationAmount?: number | null;
54146
54467
  /** @description Value in cents (100 = 1€) */
54147
- payment: number;
54148
- /** @description Value in cents (100 = 1€) */
54149
- refund: number;
54150
- transactions: {
54151
- /** Format: uuid */
54152
- transactionId: string;
54153
- /** Format: uuid */
54154
- transactionLineId: string;
54155
- date: string;
54156
- uniqueRef?: string | null;
54157
- description?: string | null;
54158
- /** @description Value in cents (100 = 1€) */
54159
- amount: number;
54160
- /** @enum {string} */
54161
- direction: "payment" | "refund";
54162
- }[];
54468
+ amount: number;
54163
54469
  }[];
54164
54470
  };
54165
54471
  };
@@ -54246,9 +54552,12 @@ export interface operations {
54246
54552
  };
54247
54553
  };
54248
54554
  };
54249
- getTeamsOpeningBalancesTaxPayable: {
54555
+ getTeamsOpeningBalancesAdvancedDepositsSyncedPaymentsRefunds: {
54250
54556
  parameters: {
54251
- query?: never;
54557
+ query?: {
54558
+ /** @description comma separated list of reservation ids */
54559
+ reservationsIds?: string;
54560
+ };
54252
54561
  header?: never;
54253
54562
  path?: never;
54254
54563
  cookie?: never;
@@ -54262,12 +54571,37 @@ export interface operations {
54262
54571
  };
54263
54572
  content: {
54264
54573
  "application/json": {
54265
- /** @description Value in cents (100 = 1€) */
54266
- amount: number;
54267
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
54268
- currency: string;
54269
- updatedAt?: string | null;
54270
- transactionId?: string | null;
54574
+ glStartAt: string;
54575
+ /** @enum {string} */
54576
+ defaultRevenueRecognition: "checkIn" | "checkOut" | "bookedAt" | "proRata";
54577
+ reservations: {
54578
+ /** Format: uuid */
54579
+ reservationId: string;
54580
+ listingId?: string | null;
54581
+ confirmationCode?: string | null;
54582
+ guestName?: string | null;
54583
+ checkIn?: string | null;
54584
+ checkOut?: string | null;
54585
+ bookedAt?: string | null;
54586
+ reservationAmount?: number | null;
54587
+ /** @description Value in cents (100 = 1€) */
54588
+ payment: number;
54589
+ /** @description Value in cents (100 = 1€) */
54590
+ refund: number;
54591
+ transactions: {
54592
+ /** Format: uuid */
54593
+ transactionId: string;
54594
+ /** Format: uuid */
54595
+ transactionLineId: string;
54596
+ date: string;
54597
+ uniqueRef?: string | null;
54598
+ description?: string | null;
54599
+ /** @description Value in cents (100 = 1€) */
54600
+ amount: number;
54601
+ /** @enum {string} */
54602
+ direction: "payment" | "refund";
54603
+ }[];
54604
+ }[];
54271
54605
  };
54272
54606
  };
54273
54607
  };
@@ -54353,22 +54687,14 @@ export interface operations {
54353
54687
  };
54354
54688
  };
54355
54689
  };
54356
- putTeamsOpeningBalancesTaxPayable: {
54690
+ getTeamsOpeningBalancesTaxPayable: {
54357
54691
  parameters: {
54358
54692
  query?: never;
54359
54693
  header?: never;
54360
54694
  path?: never;
54361
54695
  cookie?: never;
54362
54696
  };
54363
- requestBody?: {
54364
- content: {
54365
- "application/json": {
54366
- /** @description Value in cents (100 = 1€) */
54367
- amount: number;
54368
- currency?: string | null;
54369
- };
54370
- };
54371
- };
54697
+ requestBody?: never;
54372
54698
  responses: {
54373
54699
  /** @description Successful response */
54374
54700
  200: {
@@ -54468,153 +54794,7 @@ export interface operations {
54468
54794
  };
54469
54795
  };
54470
54796
  };
54471
- getTeamsOpeningTrialBalance: {
54472
- parameters: {
54473
- query?: never;
54474
- header?: never;
54475
- path?: never;
54476
- cookie?: never;
54477
- };
54478
- requestBody?: never;
54479
- responses: {
54480
- /** @description Successful response */
54481
- 200: {
54482
- headers: {
54483
- [name: string]: unknown;
54484
- };
54485
- content: {
54486
- "application/json": {
54487
- glStartAt: string;
54488
- openingDate: string;
54489
- source: {
54490
- /** @enum {string} */
54491
- mode: "manual" | "csv" | "quickbooks" | "none";
54492
- editable: boolean;
54493
- lastUpdatedAt?: string | null;
54494
- /** Format: uuid */
54495
- externalConnectionId?: string;
54496
- };
54497
- locked: boolean;
54498
- lockReasons: string[];
54499
- rows: {
54500
- /** Format: uuid */
54501
- accountId: string;
54502
- accountName: string;
54503
- /** @enum {string} */
54504
- classification: "asset" | "liability" | "revenue" | "expense";
54505
- /** @enum {string} */
54506
- type: "ledger" | "bank";
54507
- /** @description Value in cents (100 = 1€) */
54508
- combinedCentTotal: number;
54509
- /** @description Value in cents (100 = 1€) */
54510
- trustCentTotal: number;
54511
- /** @description Value in cents (100 = 1€) */
54512
- operatingCentTotal: number;
54513
- editable: boolean;
54514
- }[];
54515
- assignment: {
54516
- /** Format: uuid */
54517
- accountId: string;
54518
- accountName: string;
54519
- /** @description Value in cents (100 = 1€) */
54520
- combinedCentTotal: number;
54521
- /** @description Value in cents (100 = 1€) */
54522
- trustCentTotal: number;
54523
- /** @description Value in cents (100 = 1€) */
54524
- operatingCentTotal: number;
54525
- };
54526
- trustReversal: {
54527
- /** @enum {string} */
54528
- status: "not_created" | "active" | "locked";
54529
- journalEntryIds: string[];
54530
- lastRefreshedAt?: string | null;
54531
- };
54532
- };
54533
- };
54534
- };
54535
- /** @description Bad request */
54536
- 400: {
54537
- headers: {
54538
- [name: string]: unknown;
54539
- };
54540
- content: {
54541
- "application/json": {
54542
- code: string;
54543
- message: string;
54544
- issues?: {
54545
- message: string;
54546
- }[];
54547
- context?: unknown;
54548
- };
54549
- };
54550
- };
54551
- /** @description Unauthorized */
54552
- 401: {
54553
- headers: {
54554
- [name: string]: unknown;
54555
- };
54556
- content: {
54557
- "application/json": {
54558
- code: string;
54559
- message: string;
54560
- issues?: {
54561
- message: string;
54562
- }[];
54563
- context?: unknown;
54564
- };
54565
- };
54566
- };
54567
- /** @description Forbidden */
54568
- 403: {
54569
- headers: {
54570
- [name: string]: unknown;
54571
- };
54572
- content: {
54573
- "application/json": {
54574
- code: string;
54575
- message: string;
54576
- issues?: {
54577
- message: string;
54578
- }[];
54579
- context?: unknown;
54580
- };
54581
- };
54582
- };
54583
- /** @description Not found */
54584
- 404: {
54585
- headers: {
54586
- [name: string]: unknown;
54587
- };
54588
- content: {
54589
- "application/json": {
54590
- code: string;
54591
- message: string;
54592
- issues?: {
54593
- message: string;
54594
- }[];
54595
- context?: unknown;
54596
- };
54597
- };
54598
- };
54599
- /** @description Internal server error */
54600
- 500: {
54601
- headers: {
54602
- [name: string]: unknown;
54603
- };
54604
- content: {
54605
- "application/json": {
54606
- code: string;
54607
- message: string;
54608
- issues?: {
54609
- message: string;
54610
- }[];
54611
- context?: unknown;
54612
- };
54613
- };
54614
- };
54615
- };
54616
- };
54617
- putTeamsOpeningTrialBalanceManual: {
54797
+ putTeamsOpeningBalancesTaxPayable: {
54618
54798
  parameters: {
54619
54799
  query?: never;
54620
54800
  header?: never;
@@ -54624,12 +54804,9 @@ export interface operations {
54624
54804
  requestBody?: {
54625
54805
  content: {
54626
54806
  "application/json": {
54627
- rows: {
54628
- /** Format: uuid */
54629
- accountId: string;
54630
- /** @description Value in cents (100 = 1€) */
54631
- combinedCentTotal: number;
54632
- }[];
54807
+ /** @description Value in cents (100 = 1€) */
54808
+ amount: number;
54809
+ currency?: string | null;
54633
54810
  };
54634
54811
  };
54635
54812
  };
@@ -54641,51 +54818,12 @@ export interface operations {
54641
54818
  };
54642
54819
  content: {
54643
54820
  "application/json": {
54644
- glStartAt: string;
54645
- openingDate: string;
54646
- source: {
54647
- /** @enum {string} */
54648
- mode: "manual" | "csv" | "quickbooks" | "none";
54649
- editable: boolean;
54650
- lastUpdatedAt?: string | null;
54651
- /** Format: uuid */
54652
- externalConnectionId?: string;
54653
- };
54654
- locked: boolean;
54655
- lockReasons: string[];
54656
- rows: {
54657
- /** Format: uuid */
54658
- accountId: string;
54659
- accountName: string;
54660
- /** @enum {string} */
54661
- classification: "asset" | "liability" | "revenue" | "expense";
54662
- /** @enum {string} */
54663
- type: "ledger" | "bank";
54664
- /** @description Value in cents (100 = 1€) */
54665
- combinedCentTotal: number;
54666
- /** @description Value in cents (100 = 1€) */
54667
- trustCentTotal: number;
54668
- /** @description Value in cents (100 = 1€) */
54669
- operatingCentTotal: number;
54670
- editable: boolean;
54671
- }[];
54672
- assignment: {
54673
- /** Format: uuid */
54674
- accountId: string;
54675
- accountName: string;
54676
- /** @description Value in cents (100 = 1€) */
54677
- combinedCentTotal: number;
54678
- /** @description Value in cents (100 = 1€) */
54679
- trustCentTotal: number;
54680
- /** @description Value in cents (100 = 1€) */
54681
- operatingCentTotal: number;
54682
- };
54683
- trustReversal: {
54684
- /** @enum {string} */
54685
- status: "not_created" | "active" | "locked";
54686
- journalEntryIds: string[];
54687
- lastRefreshedAt?: string | null;
54688
- };
54821
+ /** @description Value in cents (100 = 1€) */
54822
+ amount: number;
54823
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
54824
+ currency: string;
54825
+ updatedAt?: string | null;
54826
+ transactionId?: string | null;
54689
54827
  };
54690
54828
  };
54691
54829
  };
@@ -57406,7 +57544,7 @@ export interface operations {
57406
57544
  uniqueRef?: string | null;
57407
57545
  isOpeningBalance: boolean;
57408
57546
  /** @enum {string} */
57409
- type: "deposit" | "expense" | "transfer" | "payout";
57547
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
57410
57548
  date: string;
57411
57549
  lines?: {
57412
57550
  uniqueRef?: string | null;
@@ -57840,7 +57978,7 @@ export interface operations {
57840
57978
  uniqueRef?: string | null;
57841
57979
  isOpeningBalance: boolean;
57842
57980
  /** @enum {string} */
57843
- type: "deposit" | "expense" | "transfer" | "payout";
57981
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
57844
57982
  date: string;
57845
57983
  lines: {
57846
57984
  uniqueRef?: string | null;
@@ -60809,7 +60947,7 @@ export interface operations {
60809
60947
  uniqueRef?: string | null;
60810
60948
  isOpeningBalance: boolean;
60811
60949
  /** @enum {string} */
60812
- type: "deposit" | "expense" | "transfer" | "payout";
60950
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
60813
60951
  date: string;
60814
60952
  lines: {
60815
60953
  uniqueRef?: string | null;
@@ -61299,7 +61437,7 @@ export interface operations {
61299
61437
  uniqueRef?: string | null;
61300
61438
  isOpeningBalance: boolean;
61301
61439
  /** @enum {string} */
61302
- type: "deposit" | "expense" | "transfer" | "payout";
61440
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
61303
61441
  date: string;
61304
61442
  lines: {
61305
61443
  uniqueRef?: string | null;
@@ -61785,7 +61923,7 @@ export interface operations {
61785
61923
  uniqueRef?: string | null;
61786
61924
  isOpeningBalance: boolean;
61787
61925
  /** @enum {string} */
61788
- type: "deposit" | "expense" | "transfer" | "payout";
61926
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
61789
61927
  date: string;
61790
61928
  lines: {
61791
61929
  uniqueRef?: string | null;
@@ -62277,7 +62415,7 @@ export interface operations {
62277
62415
  uniqueRef?: string | null;
62278
62416
  isOpeningBalance: boolean;
62279
62417
  /** @enum {string} */
62280
- type: "deposit" | "expense" | "transfer" | "payout";
62418
+ type: "deposit" | "expense" | "journalBatch" | "transfer" | "payout";
62281
62419
  date: string;
62282
62420
  lines: {
62283
62421
  uniqueRef?: string | null;