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