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

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