@vrplatform/api 1.3.1-stage.2084 → 1.3.1-stage.2087

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.
@@ -2648,6 +2648,42 @@ export interface paths {
2648
2648
  patch?: never;
2649
2649
  trace?: never;
2650
2650
  };
2651
+ "/teams/opening-balances/accounts-payable": {
2652
+ parameters: {
2653
+ query?: never;
2654
+ header?: never;
2655
+ path?: never;
2656
+ cookie?: never;
2657
+ };
2658
+ /** @description Retrieve opening balance accounts payable summary by party */
2659
+ get: operations["getTeamsOpeningBalancesAccountsPayable"];
2660
+ /** @description Update opening balance accounts payable by party */
2661
+ put: operations["putTeamsOpeningBalancesAccountsPayable"];
2662
+ post?: never;
2663
+ delete?: never;
2664
+ options?: never;
2665
+ head?: never;
2666
+ patch?: never;
2667
+ trace?: never;
2668
+ };
2669
+ "/teams/opening-balances/accounts-receivable-deferred-revenue": {
2670
+ parameters: {
2671
+ query?: never;
2672
+ header?: never;
2673
+ path?: never;
2674
+ cookie?: never;
2675
+ };
2676
+ /** @description Retrieve opening balance accounts receivable / deferred revenue summary */
2677
+ get: operations["getTeamsOpeningBalancesAccountsReceivableDeferredRevenue"];
2678
+ /** @description Update opening balance accounts receivable / deferred revenue summary */
2679
+ put: operations["putTeamsOpeningBalancesAccountsReceivableDeferredRevenue"];
2680
+ post?: never;
2681
+ delete?: never;
2682
+ options?: never;
2683
+ head?: never;
2684
+ patch?: never;
2685
+ trace?: never;
2686
+ };
2651
2687
  "/teams/opening-balances/advanced-deposits": {
2652
2688
  parameters: {
2653
2689
  query?: never;
@@ -2683,6 +2719,42 @@ export interface paths {
2683
2719
  patch?: never;
2684
2720
  trace?: never;
2685
2721
  };
2722
+ "/teams/opening-balances/credit-card": {
2723
+ parameters: {
2724
+ query?: never;
2725
+ header?: never;
2726
+ path?: never;
2727
+ cookie?: never;
2728
+ };
2729
+ /** @description Retrieve opening balance operating credit card summary */
2730
+ get: operations["getTeamsOpeningBalancesCreditCard"];
2731
+ /** @description Update opening balance operating credit card */
2732
+ put: operations["putTeamsOpeningBalancesCreditCard"];
2733
+ post?: never;
2734
+ delete?: never;
2735
+ options?: never;
2736
+ head?: never;
2737
+ patch?: never;
2738
+ trace?: never;
2739
+ };
2740
+ "/teams/opening-balances/other": {
2741
+ parameters: {
2742
+ query?: never;
2743
+ header?: never;
2744
+ path?: never;
2745
+ cookie?: never;
2746
+ };
2747
+ /** @description Retrieve opening balance operating other summary */
2748
+ get: operations["getTeamsOpeningBalancesOther"];
2749
+ /** @description Update opening balance operating other */
2750
+ put: operations["putTeamsOpeningBalancesOther"];
2751
+ post?: never;
2752
+ delete?: never;
2753
+ options?: never;
2754
+ head?: never;
2755
+ patch?: never;
2756
+ trace?: never;
2757
+ };
2686
2758
  "/teams/opening-balances/tax-payable": {
2687
2759
  parameters: {
2688
2760
  query?: never;
@@ -3089,7 +3161,7 @@ export interface paths {
3089
3161
  path?: never;
3090
3162
  cookie?: never;
3091
3163
  };
3092
- /** @description Legacy transfer transactions CSV export */
3164
+ /** @description Transfer transactions CSV export */
3093
3165
  get: operations["getTransactionsTransfersCsv"];
3094
3166
  put?: never;
3095
3167
  post?: never;
@@ -21534,6 +21606,8 @@ export interface operations {
21534
21606
  ownerStatementId?: string;
21535
21607
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
21536
21608
  currency: string;
21609
+ /** @enum {string} */
21610
+ ledger: "trust" | "operating";
21537
21611
  entityType?: string;
21538
21612
  status: string;
21539
21613
  listingId?: string;
@@ -21828,7 +21902,6 @@ export interface operations {
21828
21902
  expenses: number;
21829
21903
  netIncome: number;
21830
21904
  adjustments: number;
21831
- transfers: number;
21832
21905
  payouts: number;
21833
21906
  };
21834
21907
  }[];
@@ -22053,7 +22126,6 @@ export interface operations {
22053
22126
  expenses: number;
22054
22127
  netIncome: number;
22055
22128
  adjustments: number;
22056
- transfers: number;
22057
22129
  payouts: number;
22058
22130
  };
22059
22131
  accounts: {
@@ -22072,7 +22144,7 @@ export interface operations {
22072
22144
  }[];
22073
22145
  sections: {
22074
22146
  /** @enum {string} */
22075
- id: "net-revenue" | "expenses" | "adjustments" | "transfers" | "other";
22147
+ id: "net-revenue" | "expenses" | "adjustments" | "payouts" | "other";
22076
22148
  name: string;
22077
22149
  accounts: {
22078
22150
  id: string;
@@ -22420,6 +22492,8 @@ export interface operations {
22420
22492
  ownerStatementId?: string;
22421
22493
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
22422
22494
  currency: string;
22495
+ /** @enum {string} */
22496
+ ledger: "trust" | "operating";
22423
22497
  entityType?: string;
22424
22498
  status: string;
22425
22499
  listingId?: string;
@@ -22720,7 +22794,6 @@ export interface operations {
22720
22794
  netRevenue: number;
22721
22795
  expenses: number;
22722
22796
  reserve: number;
22723
- transfers: number;
22724
22797
  payouts: number;
22725
22798
  netIncome: number;
22726
22799
  currentBalance: number;
@@ -23071,7 +23144,6 @@ export interface operations {
23071
23144
  netRevenue: number;
23072
23145
  expenses: number;
23073
23146
  reserve: number;
23074
- transfers: number;
23075
23147
  payouts: number;
23076
23148
  netIncome: number;
23077
23149
  currentBalance: number;
@@ -23156,7 +23228,7 @@ export interface operations {
23156
23228
  }[];
23157
23229
  };
23158
23230
  }[];
23159
- transfersSection?: {
23231
+ payoutsSection?: {
23160
23232
  title: string;
23161
23233
  rows: {
23162
23234
  id: string;
@@ -29159,9 +29231,7 @@ export interface operations {
29159
29231
  /** @description Value in cents (100 = 1€) */
29160
29232
  netIncome: number;
29161
29233
  /** @description Value in cents (100 = 1€) */
29162
- transfers: number;
29163
- /** @description Value in cents (100 = 1€) */
29164
- payouts?: number;
29234
+ payouts: number;
29165
29235
  /** @description Value in cents (100 = 1€) */
29166
29236
  balanceEnd: number;
29167
29237
  };
@@ -29261,7 +29331,7 @@ export interface operations {
29261
29331
  message: string;
29262
29332
  } | {
29263
29333
  /** @constant */
29264
- code: "transfersMismatch";
29334
+ code: "payoutsMismatch";
29265
29335
  /** @constant */
29266
29336
  severity: "warning";
29267
29337
  context: Record<string, never>;
@@ -29322,7 +29392,7 @@ export interface operations {
29322
29392
  context: {
29323
29393
  balanceStart: number;
29324
29394
  netIncome: number;
29325
- transfers: number;
29395
+ payouts: number;
29326
29396
  balanceEnd: number;
29327
29397
  delta: number;
29328
29398
  };
@@ -29340,13 +29410,7 @@ export interface operations {
29340
29410
  };
29341
29411
  message: string;
29342
29412
  })[];
29343
- transfers: {
29344
- id: string;
29345
- date: string;
29346
- total: number;
29347
- totalFormatted: string;
29348
- }[];
29349
- payouts?: {
29413
+ payouts: {
29350
29414
  id: string;
29351
29415
  date: string;
29352
29416
  total: number;
@@ -29392,9 +29456,7 @@ export interface operations {
29392
29456
  /** @description Value in cents (100 = 1€) */
29393
29457
  netIncome: number;
29394
29458
  /** @description Value in cents (100 = 1€) */
29395
- transfers: number;
29396
- /** @description Value in cents (100 = 1€) */
29397
- payouts?: number;
29459
+ payouts: number;
29398
29460
  /** @description Value in cents (100 = 1€) */
29399
29461
  balanceEnd: number;
29400
29462
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
@@ -29541,9 +29603,7 @@ export interface operations {
29541
29603
  /** @description Value in cents (100 = 1€) */
29542
29604
  netIncome: number;
29543
29605
  /** @description Value in cents (100 = 1€) */
29544
- transfers: number;
29545
- /** @description Value in cents (100 = 1€) */
29546
- payouts?: number;
29606
+ payouts: number;
29547
29607
  /** @description Value in cents (100 = 1€) */
29548
29608
  balanceEnd: number;
29549
29609
  };
@@ -29643,7 +29703,7 @@ export interface operations {
29643
29703
  message: string;
29644
29704
  } | {
29645
29705
  /** @constant */
29646
- code: "transfersMismatch";
29706
+ code: "payoutsMismatch";
29647
29707
  /** @constant */
29648
29708
  severity: "warning";
29649
29709
  context: Record<string, never>;
@@ -29704,7 +29764,7 @@ export interface operations {
29704
29764
  context: {
29705
29765
  balanceStart: number;
29706
29766
  netIncome: number;
29707
- transfers: number;
29767
+ payouts: number;
29708
29768
  balanceEnd: number;
29709
29769
  delta: number;
29710
29770
  };
@@ -29722,13 +29782,7 @@ export interface operations {
29722
29782
  };
29723
29783
  message: string;
29724
29784
  })[];
29725
- transfers: {
29726
- id: string;
29727
- date: string;
29728
- total: number;
29729
- totalFormatted: string;
29730
- }[];
29731
- payouts?: {
29785
+ payouts: {
29732
29786
  id: string;
29733
29787
  date: string;
29734
29788
  total: number;
@@ -30146,9 +30200,7 @@ export interface operations {
30146
30200
  /** @description Value in cents (100 = 1€) */
30147
30201
  netIncome: number;
30148
30202
  /** @description Value in cents (100 = 1€) */
30149
- transfers: number;
30150
- /** @description Value in cents (100 = 1€) */
30151
- payouts?: number;
30203
+ payouts: number;
30152
30204
  /** @description Value in cents (100 = 1€) */
30153
30205
  balanceEnd: number;
30154
30206
  };
@@ -30248,7 +30300,7 @@ export interface operations {
30248
30300
  message: string;
30249
30301
  } | {
30250
30302
  /** @constant */
30251
- code: "transfersMismatch";
30303
+ code: "payoutsMismatch";
30252
30304
  /** @constant */
30253
30305
  severity: "warning";
30254
30306
  context: Record<string, never>;
@@ -30309,7 +30361,7 @@ export interface operations {
30309
30361
  context: {
30310
30362
  balanceStart: number;
30311
30363
  netIncome: number;
30312
- transfers: number;
30364
+ payouts: number;
30313
30365
  balanceEnd: number;
30314
30366
  delta: number;
30315
30367
  };
@@ -30327,13 +30379,7 @@ export interface operations {
30327
30379
  };
30328
30380
  message: string;
30329
30381
  })[];
30330
- transfers: {
30331
- id: string;
30332
- date: string;
30333
- total: number;
30334
- totalFormatted: string;
30335
- }[];
30336
- payouts?: {
30382
+ payouts: {
30337
30383
  id: string;
30338
30384
  date: string;
30339
30385
  total: number;
@@ -32554,9 +32600,7 @@ export interface operations {
32554
32600
  /** @description Value in cents (100 = 1€) */
32555
32601
  netIncome: number;
32556
32602
  /** @description Value in cents (100 = 1€) */
32557
- transfers: number;
32558
- /** @description Value in cents (100 = 1€) */
32559
- payouts?: number;
32603
+ payouts: number;
32560
32604
  /** @description Value in cents (100 = 1€) */
32561
32605
  balanceEnd: number;
32562
32606
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
@@ -32685,9 +32729,7 @@ export interface operations {
32685
32729
  /** @description Value in cents (100 = 1€) */
32686
32730
  netIncome: number;
32687
32731
  /** @description Value in cents (100 = 1€) */
32688
- transfers: number;
32689
- /** @description Value in cents (100 = 1€) */
32690
- payouts?: number;
32732
+ payouts: number;
32691
32733
  /** @description Value in cents (100 = 1€) */
32692
32734
  balanceEnd: number;
32693
32735
  };
@@ -32787,7 +32829,7 @@ export interface operations {
32787
32829
  message: string;
32788
32830
  } | {
32789
32831
  /** @constant */
32790
- code: "transfersMismatch";
32832
+ code: "payoutsMismatch";
32791
32833
  /** @constant */
32792
32834
  severity: "warning";
32793
32835
  context: Record<string, never>;
@@ -32848,7 +32890,7 @@ export interface operations {
32848
32890
  context: {
32849
32891
  balanceStart: number;
32850
32892
  netIncome: number;
32851
- transfers: number;
32893
+ payouts: number;
32852
32894
  balanceEnd: number;
32853
32895
  delta: number;
32854
32896
  };
@@ -32866,13 +32908,7 @@ export interface operations {
32866
32908
  };
32867
32909
  message: string;
32868
32910
  })[];
32869
- transfers: {
32870
- id: string;
32871
- date: string;
32872
- total: number;
32873
- totalFormatted: string;
32874
- }[];
32875
- payouts?: {
32911
+ payouts: {
32876
32912
  id: string;
32877
32913
  date: string;
32878
32914
  total: number;
@@ -33295,9 +33331,7 @@ export interface operations {
33295
33331
  /** @description Value in cents (100 = 1€) */
33296
33332
  netIncome: number;
33297
33333
  /** @description Value in cents (100 = 1€) */
33298
- transfers: number;
33299
- /** @description Value in cents (100 = 1€) */
33300
- payouts?: number;
33334
+ payouts: number;
33301
33335
  /** @description Value in cents (100 = 1€) */
33302
33336
  balanceEnd: number;
33303
33337
  };
@@ -33397,7 +33431,7 @@ export interface operations {
33397
33431
  message: string;
33398
33432
  } | {
33399
33433
  /** @constant */
33400
- code: "transfersMismatch";
33434
+ code: "payoutsMismatch";
33401
33435
  /** @constant */
33402
33436
  severity: "warning";
33403
33437
  context: Record<string, never>;
@@ -33458,7 +33492,7 @@ export interface operations {
33458
33492
  context: {
33459
33493
  balanceStart: number;
33460
33494
  netIncome: number;
33461
- transfers: number;
33495
+ payouts: number;
33462
33496
  balanceEnd: number;
33463
33497
  delta: number;
33464
33498
  };
@@ -33476,13 +33510,7 @@ export interface operations {
33476
33510
  };
33477
33511
  message: string;
33478
33512
  })[];
33479
- transfers: {
33480
- id: string;
33481
- date: string;
33482
- total: number;
33483
- totalFormatted: string;
33484
- }[];
33485
- payouts?: {
33513
+ payouts: {
33486
33514
  id: string;
33487
33515
  date: string;
33488
33516
  total: number;
@@ -36091,9 +36119,11 @@ export interface operations {
36091
36119
  };
36092
36120
  };
36093
36121
  };
36094
- getTeamsOpeningBalancesAdvancedDeposits: {
36122
+ getTeamsOpeningBalancesAccountsPayable: {
36095
36123
  parameters: {
36096
- query?: never;
36124
+ query: {
36125
+ party: "owners" | "manager";
36126
+ };
36097
36127
  header?: never;
36098
36128
  path?: never;
36099
36129
  cookie?: never;
@@ -36113,19 +36143,6 @@ export interface operations {
36113
36143
  currency: string;
36114
36144
  updatedAt?: string | null;
36115
36145
  transactionId?: string | null;
36116
- account?: {
36117
- /** Format: uuid */
36118
- id: string;
36119
- name: string;
36120
- } | null;
36121
- reservations: {
36122
- reservationId?: string | null;
36123
- listingId?: string | null;
36124
- /** @description Value in cents (100 = 1€) */
36125
- payment: number;
36126
- /** @description Value in cents (100 = 1€) */
36127
- refund: number;
36128
- }[];
36129
36146
  };
36130
36147
  };
36131
36148
  };
@@ -36211,7 +36228,7 @@ export interface operations {
36211
36228
  };
36212
36229
  };
36213
36230
  };
36214
- putTeamsOpeningBalancesAdvancedDeposits: {
36231
+ putTeamsOpeningBalancesAccountsPayable: {
36215
36232
  parameters: {
36216
36233
  query?: never;
36217
36234
  header?: never;
@@ -36221,16 +36238,11 @@ export interface operations {
36221
36238
  requestBody?: {
36222
36239
  content: {
36223
36240
  "application/json": {
36224
- accountId?: string | null;
36225
- amount?: number | null;
36241
+ /** @enum {string} */
36242
+ party: "owners" | "manager";
36243
+ /** @description Value in cents (100 = 1€) */
36244
+ amount: number;
36226
36245
  currency?: string | null;
36227
- reservations: {
36228
- /** Format: uuid */
36229
- reservationId: string;
36230
- listingId?: string | null;
36231
- payment?: number | null;
36232
- refund?: number | null;
36233
- }[];
36234
36246
  };
36235
36247
  };
36236
36248
  };
@@ -36248,19 +36260,6 @@ export interface operations {
36248
36260
  currency: string;
36249
36261
  updatedAt?: string | null;
36250
36262
  transactionId?: string | null;
36251
- account?: {
36252
- /** Format: uuid */
36253
- id: string;
36254
- name: string;
36255
- } | null;
36256
- reservations: {
36257
- reservationId?: string | null;
36258
- listingId?: string | null;
36259
- /** @description Value in cents (100 = 1€) */
36260
- payment: number;
36261
- /** @description Value in cents (100 = 1€) */
36262
- refund: number;
36263
- }[];
36264
36263
  };
36265
36264
  };
36266
36265
  };
@@ -36346,142 +36345,1095 @@ export interface operations {
36346
36345
  };
36347
36346
  };
36348
36347
  };
36349
- getTeamsOpeningBalancesAdvancedDepositsSyncedPaymentsRefunds: {
36350
- parameters: {
36351
- query?: {
36352
- /** @description comma separated list of reservation ids */
36353
- reservationsIds?: string;
36354
- };
36355
- header?: never;
36356
- path?: never;
36357
- cookie?: never;
36358
- };
36359
- requestBody?: never;
36360
- responses: {
36361
- /** @description Successful response */
36362
- 200: {
36363
- headers: {
36364
- [name: string]: unknown;
36365
- };
36366
- content: {
36367
- "application/json": {
36368
- glStartAt: string;
36369
- /** @enum {string} */
36370
- defaultRevenueRecognition: "checkIn" | "checkOut" | "bookedAt" | "proRata";
36371
- reservations: {
36372
- /** Format: uuid */
36373
- reservationId: string;
36374
- listingId?: string | null;
36375
- confirmationCode?: string | null;
36376
- guestName?: string | null;
36377
- checkIn?: string | null;
36378
- checkOut?: string | null;
36379
- bookedAt?: string | null;
36380
- reservationAmount?: number | null;
36381
- /** @description Value in cents (100 = 1€) */
36382
- payment: number;
36383
- /** @description Value in cents (100 = 1€) */
36384
- refund: number;
36385
- transactions: {
36386
- /** Format: uuid */
36387
- transactionId: string;
36388
- /** Format: uuid */
36389
- transactionLineId: string;
36390
- date: string;
36391
- uniqueRef?: string | null;
36392
- description?: string | null;
36393
- /** @description Value in cents (100 = 1€) */
36394
- amount: number;
36395
- /** @enum {string} */
36396
- direction: "payment" | "refund";
36397
- }[];
36398
- }[];
36399
- };
36400
- };
36401
- };
36402
- /** @description Bad request */
36403
- 400: {
36404
- headers: {
36405
- [name: string]: unknown;
36406
- };
36407
- content: {
36408
- "application/json": {
36409
- code: string;
36410
- message: string;
36411
- issues?: {
36412
- message: string;
36413
- }[];
36414
- context?: unknown;
36415
- };
36416
- };
36417
- };
36418
- /** @description Unauthorized */
36419
- 401: {
36420
- headers: {
36421
- [name: string]: unknown;
36422
- };
36423
- content: {
36424
- "application/json": {
36425
- code: string;
36426
- message: string;
36427
- issues?: {
36428
- message: string;
36429
- }[];
36430
- context?: unknown;
36431
- };
36432
- };
36433
- };
36434
- /** @description Forbidden */
36435
- 403: {
36436
- headers: {
36437
- [name: string]: unknown;
36438
- };
36439
- content: {
36440
- "application/json": {
36441
- code: string;
36442
- message: string;
36443
- issues?: {
36444
- message: string;
36445
- }[];
36446
- context?: unknown;
36447
- };
36448
- };
36449
- };
36450
- /** @description Not found */
36451
- 404: {
36452
- headers: {
36453
- [name: string]: unknown;
36454
- };
36455
- content: {
36456
- "application/json": {
36457
- code: string;
36458
- message: string;
36459
- issues?: {
36460
- message: string;
36461
- }[];
36462
- context?: unknown;
36463
- };
36464
- };
36465
- };
36466
- /** @description Internal server error */
36467
- 500: {
36468
- headers: {
36469
- [name: string]: unknown;
36470
- };
36471
- content: {
36472
- "application/json": {
36473
- code: string;
36474
- message: string;
36475
- issues?: {
36476
- message: string;
36477
- }[];
36478
- context?: unknown;
36479
- };
36480
- };
36481
- };
36482
- };
36483
- };
36484
- getTeamsOpeningBalancesTaxPayable: {
36348
+ getTeamsOpeningBalancesAccountsReceivableDeferredRevenue: {
36349
+ parameters: {
36350
+ query?: never;
36351
+ header?: never;
36352
+ path?: never;
36353
+ cookie?: never;
36354
+ };
36355
+ requestBody?: never;
36356
+ responses: {
36357
+ /** @description Successful response */
36358
+ 200: {
36359
+ headers: {
36360
+ [name: string]: unknown;
36361
+ };
36362
+ content: {
36363
+ "application/json": {
36364
+ /** @description Value in cents (100 = 1€) */
36365
+ amount: number;
36366
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
36367
+ currency: string;
36368
+ updatedAt?: string | null;
36369
+ transactionId?: string | null;
36370
+ /** @description Value in cents (100 = 1€) */
36371
+ accountsReceivableAmount: number;
36372
+ /** @description Value in cents (100 = 1€) */
36373
+ deferredRevenueAmount: number;
36374
+ };
36375
+ };
36376
+ };
36377
+ /** @description Bad request */
36378
+ 400: {
36379
+ headers: {
36380
+ [name: string]: unknown;
36381
+ };
36382
+ content: {
36383
+ "application/json": {
36384
+ code: string;
36385
+ message: string;
36386
+ issues?: {
36387
+ message: string;
36388
+ }[];
36389
+ context?: unknown;
36390
+ };
36391
+ };
36392
+ };
36393
+ /** @description Unauthorized */
36394
+ 401: {
36395
+ headers: {
36396
+ [name: string]: unknown;
36397
+ };
36398
+ content: {
36399
+ "application/json": {
36400
+ code: string;
36401
+ message: string;
36402
+ issues?: {
36403
+ message: string;
36404
+ }[];
36405
+ context?: unknown;
36406
+ };
36407
+ };
36408
+ };
36409
+ /** @description Forbidden */
36410
+ 403: {
36411
+ headers: {
36412
+ [name: string]: unknown;
36413
+ };
36414
+ content: {
36415
+ "application/json": {
36416
+ code: string;
36417
+ message: string;
36418
+ issues?: {
36419
+ message: string;
36420
+ }[];
36421
+ context?: unknown;
36422
+ };
36423
+ };
36424
+ };
36425
+ /** @description Not found */
36426
+ 404: {
36427
+ headers: {
36428
+ [name: string]: unknown;
36429
+ };
36430
+ content: {
36431
+ "application/json": {
36432
+ code: string;
36433
+ message: string;
36434
+ issues?: {
36435
+ message: string;
36436
+ }[];
36437
+ context?: unknown;
36438
+ };
36439
+ };
36440
+ };
36441
+ /** @description Internal server error */
36442
+ 500: {
36443
+ headers: {
36444
+ [name: string]: unknown;
36445
+ };
36446
+ content: {
36447
+ "application/json": {
36448
+ code: string;
36449
+ message: string;
36450
+ issues?: {
36451
+ message: string;
36452
+ }[];
36453
+ context?: unknown;
36454
+ };
36455
+ };
36456
+ };
36457
+ };
36458
+ };
36459
+ putTeamsOpeningBalancesAccountsReceivableDeferredRevenue: {
36460
+ parameters: {
36461
+ query?: never;
36462
+ header?: never;
36463
+ path?: never;
36464
+ cookie?: never;
36465
+ };
36466
+ requestBody?: {
36467
+ content: {
36468
+ "application/json": {
36469
+ /** @description Value in cents (100 = 1€) */
36470
+ accountsReceivableAmount: number;
36471
+ /** @description Value in cents (100 = 1€) */
36472
+ deferredRevenueAmount: number;
36473
+ currency?: string | null;
36474
+ };
36475
+ };
36476
+ };
36477
+ responses: {
36478
+ /** @description Successful response */
36479
+ 200: {
36480
+ headers: {
36481
+ [name: string]: unknown;
36482
+ };
36483
+ content: {
36484
+ "application/json": {
36485
+ /** @description Value in cents (100 = 1€) */
36486
+ amount: number;
36487
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
36488
+ currency: string;
36489
+ updatedAt?: string | null;
36490
+ transactionId?: string | null;
36491
+ /** @description Value in cents (100 = 1€) */
36492
+ accountsReceivableAmount: number;
36493
+ /** @description Value in cents (100 = 1€) */
36494
+ deferredRevenueAmount: number;
36495
+ };
36496
+ };
36497
+ };
36498
+ /** @description Bad request */
36499
+ 400: {
36500
+ headers: {
36501
+ [name: string]: unknown;
36502
+ };
36503
+ content: {
36504
+ "application/json": {
36505
+ code: string;
36506
+ message: string;
36507
+ issues?: {
36508
+ message: string;
36509
+ }[];
36510
+ context?: unknown;
36511
+ };
36512
+ };
36513
+ };
36514
+ /** @description Unauthorized */
36515
+ 401: {
36516
+ headers: {
36517
+ [name: string]: unknown;
36518
+ };
36519
+ content: {
36520
+ "application/json": {
36521
+ code: string;
36522
+ message: string;
36523
+ issues?: {
36524
+ message: string;
36525
+ }[];
36526
+ context?: unknown;
36527
+ };
36528
+ };
36529
+ };
36530
+ /** @description Forbidden */
36531
+ 403: {
36532
+ headers: {
36533
+ [name: string]: unknown;
36534
+ };
36535
+ content: {
36536
+ "application/json": {
36537
+ code: string;
36538
+ message: string;
36539
+ issues?: {
36540
+ message: string;
36541
+ }[];
36542
+ context?: unknown;
36543
+ };
36544
+ };
36545
+ };
36546
+ /** @description Not found */
36547
+ 404: {
36548
+ headers: {
36549
+ [name: string]: unknown;
36550
+ };
36551
+ content: {
36552
+ "application/json": {
36553
+ code: string;
36554
+ message: string;
36555
+ issues?: {
36556
+ message: string;
36557
+ }[];
36558
+ context?: unknown;
36559
+ };
36560
+ };
36561
+ };
36562
+ /** @description Internal server error */
36563
+ 500: {
36564
+ headers: {
36565
+ [name: string]: unknown;
36566
+ };
36567
+ content: {
36568
+ "application/json": {
36569
+ code: string;
36570
+ message: string;
36571
+ issues?: {
36572
+ message: string;
36573
+ }[];
36574
+ context?: unknown;
36575
+ };
36576
+ };
36577
+ };
36578
+ };
36579
+ };
36580
+ getTeamsOpeningBalancesAdvancedDeposits: {
36581
+ parameters: {
36582
+ query?: never;
36583
+ header?: never;
36584
+ path?: never;
36585
+ cookie?: never;
36586
+ };
36587
+ requestBody?: never;
36588
+ responses: {
36589
+ /** @description Successful response */
36590
+ 200: {
36591
+ headers: {
36592
+ [name: string]: unknown;
36593
+ };
36594
+ content: {
36595
+ "application/json": {
36596
+ /** @description Value in cents (100 = 1€) */
36597
+ amount: number;
36598
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
36599
+ currency: string;
36600
+ updatedAt?: string | null;
36601
+ transactionId?: string | null;
36602
+ account?: {
36603
+ /** Format: uuid */
36604
+ id: string;
36605
+ name: string;
36606
+ } | null;
36607
+ reservations: {
36608
+ reservationId?: string | null;
36609
+ listingId?: string | null;
36610
+ /** @description Value in cents (100 = 1€) */
36611
+ payment: number;
36612
+ /** @description Value in cents (100 = 1€) */
36613
+ refund: number;
36614
+ }[];
36615
+ };
36616
+ };
36617
+ };
36618
+ /** @description Bad request */
36619
+ 400: {
36620
+ headers: {
36621
+ [name: string]: unknown;
36622
+ };
36623
+ content: {
36624
+ "application/json": {
36625
+ code: string;
36626
+ message: string;
36627
+ issues?: {
36628
+ message: string;
36629
+ }[];
36630
+ context?: unknown;
36631
+ };
36632
+ };
36633
+ };
36634
+ /** @description Unauthorized */
36635
+ 401: {
36636
+ headers: {
36637
+ [name: string]: unknown;
36638
+ };
36639
+ content: {
36640
+ "application/json": {
36641
+ code: string;
36642
+ message: string;
36643
+ issues?: {
36644
+ message: string;
36645
+ }[];
36646
+ context?: unknown;
36647
+ };
36648
+ };
36649
+ };
36650
+ /** @description Forbidden */
36651
+ 403: {
36652
+ headers: {
36653
+ [name: string]: unknown;
36654
+ };
36655
+ content: {
36656
+ "application/json": {
36657
+ code: string;
36658
+ message: string;
36659
+ issues?: {
36660
+ message: string;
36661
+ }[];
36662
+ context?: unknown;
36663
+ };
36664
+ };
36665
+ };
36666
+ /** @description Not found */
36667
+ 404: {
36668
+ headers: {
36669
+ [name: string]: unknown;
36670
+ };
36671
+ content: {
36672
+ "application/json": {
36673
+ code: string;
36674
+ message: string;
36675
+ issues?: {
36676
+ message: string;
36677
+ }[];
36678
+ context?: unknown;
36679
+ };
36680
+ };
36681
+ };
36682
+ /** @description Internal server error */
36683
+ 500: {
36684
+ headers: {
36685
+ [name: string]: unknown;
36686
+ };
36687
+ content: {
36688
+ "application/json": {
36689
+ code: string;
36690
+ message: string;
36691
+ issues?: {
36692
+ message: string;
36693
+ }[];
36694
+ context?: unknown;
36695
+ };
36696
+ };
36697
+ };
36698
+ };
36699
+ };
36700
+ putTeamsOpeningBalancesAdvancedDeposits: {
36701
+ parameters: {
36702
+ query?: never;
36703
+ header?: never;
36704
+ path?: never;
36705
+ cookie?: never;
36706
+ };
36707
+ requestBody?: {
36708
+ content: {
36709
+ "application/json": {
36710
+ accountId?: string | null;
36711
+ amount?: number | null;
36712
+ currency?: string | null;
36713
+ reservations: {
36714
+ /** Format: uuid */
36715
+ reservationId: string;
36716
+ listingId?: string | null;
36717
+ payment?: number | null;
36718
+ refund?: number | null;
36719
+ }[];
36720
+ };
36721
+ };
36722
+ };
36723
+ responses: {
36724
+ /** @description Successful response */
36725
+ 200: {
36726
+ headers: {
36727
+ [name: string]: unknown;
36728
+ };
36729
+ content: {
36730
+ "application/json": {
36731
+ /** @description Value in cents (100 = 1€) */
36732
+ amount: number;
36733
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
36734
+ currency: string;
36735
+ updatedAt?: string | null;
36736
+ transactionId?: string | null;
36737
+ account?: {
36738
+ /** Format: uuid */
36739
+ id: string;
36740
+ name: string;
36741
+ } | null;
36742
+ reservations: {
36743
+ reservationId?: string | null;
36744
+ listingId?: string | null;
36745
+ /** @description Value in cents (100 = 1€) */
36746
+ payment: number;
36747
+ /** @description Value in cents (100 = 1€) */
36748
+ refund: number;
36749
+ }[];
36750
+ };
36751
+ };
36752
+ };
36753
+ /** @description Bad request */
36754
+ 400: {
36755
+ headers: {
36756
+ [name: string]: unknown;
36757
+ };
36758
+ content: {
36759
+ "application/json": {
36760
+ code: string;
36761
+ message: string;
36762
+ issues?: {
36763
+ message: string;
36764
+ }[];
36765
+ context?: unknown;
36766
+ };
36767
+ };
36768
+ };
36769
+ /** @description Unauthorized */
36770
+ 401: {
36771
+ headers: {
36772
+ [name: string]: unknown;
36773
+ };
36774
+ content: {
36775
+ "application/json": {
36776
+ code: string;
36777
+ message: string;
36778
+ issues?: {
36779
+ message: string;
36780
+ }[];
36781
+ context?: unknown;
36782
+ };
36783
+ };
36784
+ };
36785
+ /** @description Forbidden */
36786
+ 403: {
36787
+ headers: {
36788
+ [name: string]: unknown;
36789
+ };
36790
+ content: {
36791
+ "application/json": {
36792
+ code: string;
36793
+ message: string;
36794
+ issues?: {
36795
+ message: string;
36796
+ }[];
36797
+ context?: unknown;
36798
+ };
36799
+ };
36800
+ };
36801
+ /** @description Not found */
36802
+ 404: {
36803
+ headers: {
36804
+ [name: string]: unknown;
36805
+ };
36806
+ content: {
36807
+ "application/json": {
36808
+ code: string;
36809
+ message: string;
36810
+ issues?: {
36811
+ message: string;
36812
+ }[];
36813
+ context?: unknown;
36814
+ };
36815
+ };
36816
+ };
36817
+ /** @description Internal server error */
36818
+ 500: {
36819
+ headers: {
36820
+ [name: string]: unknown;
36821
+ };
36822
+ content: {
36823
+ "application/json": {
36824
+ code: string;
36825
+ message: string;
36826
+ issues?: {
36827
+ message: string;
36828
+ }[];
36829
+ context?: unknown;
36830
+ };
36831
+ };
36832
+ };
36833
+ };
36834
+ };
36835
+ getTeamsOpeningBalancesAdvancedDepositsSyncedPaymentsRefunds: {
36836
+ parameters: {
36837
+ query?: {
36838
+ /** @description comma separated list of reservation ids */
36839
+ reservationsIds?: string;
36840
+ };
36841
+ header?: never;
36842
+ path?: never;
36843
+ cookie?: never;
36844
+ };
36845
+ requestBody?: never;
36846
+ responses: {
36847
+ /** @description Successful response */
36848
+ 200: {
36849
+ headers: {
36850
+ [name: string]: unknown;
36851
+ };
36852
+ content: {
36853
+ "application/json": {
36854
+ glStartAt: string;
36855
+ /** @enum {string} */
36856
+ defaultRevenueRecognition: "checkIn" | "checkOut" | "bookedAt" | "proRata";
36857
+ reservations: {
36858
+ /** Format: uuid */
36859
+ reservationId: string;
36860
+ listingId?: string | null;
36861
+ confirmationCode?: string | null;
36862
+ guestName?: string | null;
36863
+ checkIn?: string | null;
36864
+ checkOut?: string | null;
36865
+ bookedAt?: string | null;
36866
+ reservationAmount?: number | null;
36867
+ /** @description Value in cents (100 = 1€) */
36868
+ payment: number;
36869
+ /** @description Value in cents (100 = 1€) */
36870
+ refund: number;
36871
+ transactions: {
36872
+ /** Format: uuid */
36873
+ transactionId: string;
36874
+ /** Format: uuid */
36875
+ transactionLineId: string;
36876
+ date: string;
36877
+ uniqueRef?: string | null;
36878
+ description?: string | null;
36879
+ /** @description Value in cents (100 = 1€) */
36880
+ amount: number;
36881
+ /** @enum {string} */
36882
+ direction: "payment" | "refund";
36883
+ }[];
36884
+ }[];
36885
+ };
36886
+ };
36887
+ };
36888
+ /** @description Bad request */
36889
+ 400: {
36890
+ headers: {
36891
+ [name: string]: unknown;
36892
+ };
36893
+ content: {
36894
+ "application/json": {
36895
+ code: string;
36896
+ message: string;
36897
+ issues?: {
36898
+ message: string;
36899
+ }[];
36900
+ context?: unknown;
36901
+ };
36902
+ };
36903
+ };
36904
+ /** @description Unauthorized */
36905
+ 401: {
36906
+ headers: {
36907
+ [name: string]: unknown;
36908
+ };
36909
+ content: {
36910
+ "application/json": {
36911
+ code: string;
36912
+ message: string;
36913
+ issues?: {
36914
+ message: string;
36915
+ }[];
36916
+ context?: unknown;
36917
+ };
36918
+ };
36919
+ };
36920
+ /** @description Forbidden */
36921
+ 403: {
36922
+ headers: {
36923
+ [name: string]: unknown;
36924
+ };
36925
+ content: {
36926
+ "application/json": {
36927
+ code: string;
36928
+ message: string;
36929
+ issues?: {
36930
+ message: string;
36931
+ }[];
36932
+ context?: unknown;
36933
+ };
36934
+ };
36935
+ };
36936
+ /** @description Not found */
36937
+ 404: {
36938
+ headers: {
36939
+ [name: string]: unknown;
36940
+ };
36941
+ content: {
36942
+ "application/json": {
36943
+ code: string;
36944
+ message: string;
36945
+ issues?: {
36946
+ message: string;
36947
+ }[];
36948
+ context?: unknown;
36949
+ };
36950
+ };
36951
+ };
36952
+ /** @description Internal server error */
36953
+ 500: {
36954
+ headers: {
36955
+ [name: string]: unknown;
36956
+ };
36957
+ content: {
36958
+ "application/json": {
36959
+ code: string;
36960
+ message: string;
36961
+ issues?: {
36962
+ message: string;
36963
+ }[];
36964
+ context?: unknown;
36965
+ };
36966
+ };
36967
+ };
36968
+ };
36969
+ };
36970
+ getTeamsOpeningBalancesCreditCard: {
36971
+ parameters: {
36972
+ query?: never;
36973
+ header?: never;
36974
+ path?: never;
36975
+ cookie?: never;
36976
+ };
36977
+ requestBody?: never;
36978
+ responses: {
36979
+ /** @description Successful response */
36980
+ 200: {
36981
+ headers: {
36982
+ [name: string]: unknown;
36983
+ };
36984
+ content: {
36985
+ "application/json": {
36986
+ /** @description Value in cents (100 = 1€) */
36987
+ amount: number;
36988
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
36989
+ currency: string;
36990
+ updatedAt?: string | null;
36991
+ transactionId?: string | null;
36992
+ account?: {
36993
+ /** Format: uuid */
36994
+ id: string;
36995
+ name: string;
36996
+ } | null;
36997
+ };
36998
+ };
36999
+ };
37000
+ /** @description Bad request */
37001
+ 400: {
37002
+ headers: {
37003
+ [name: string]: unknown;
37004
+ };
37005
+ content: {
37006
+ "application/json": {
37007
+ code: string;
37008
+ message: string;
37009
+ issues?: {
37010
+ message: string;
37011
+ }[];
37012
+ context?: unknown;
37013
+ };
37014
+ };
37015
+ };
37016
+ /** @description Unauthorized */
37017
+ 401: {
37018
+ headers: {
37019
+ [name: string]: unknown;
37020
+ };
37021
+ content: {
37022
+ "application/json": {
37023
+ code: string;
37024
+ message: string;
37025
+ issues?: {
37026
+ message: string;
37027
+ }[];
37028
+ context?: unknown;
37029
+ };
37030
+ };
37031
+ };
37032
+ /** @description Forbidden */
37033
+ 403: {
37034
+ headers: {
37035
+ [name: string]: unknown;
37036
+ };
37037
+ content: {
37038
+ "application/json": {
37039
+ code: string;
37040
+ message: string;
37041
+ issues?: {
37042
+ message: string;
37043
+ }[];
37044
+ context?: unknown;
37045
+ };
37046
+ };
37047
+ };
37048
+ /** @description Not found */
37049
+ 404: {
37050
+ headers: {
37051
+ [name: string]: unknown;
37052
+ };
37053
+ content: {
37054
+ "application/json": {
37055
+ code: string;
37056
+ message: string;
37057
+ issues?: {
37058
+ message: string;
37059
+ }[];
37060
+ context?: unknown;
37061
+ };
37062
+ };
37063
+ };
37064
+ /** @description Internal server error */
37065
+ 500: {
37066
+ headers: {
37067
+ [name: string]: unknown;
37068
+ };
37069
+ content: {
37070
+ "application/json": {
37071
+ code: string;
37072
+ message: string;
37073
+ issues?: {
37074
+ message: string;
37075
+ }[];
37076
+ context?: unknown;
37077
+ };
37078
+ };
37079
+ };
37080
+ };
37081
+ };
37082
+ putTeamsOpeningBalancesCreditCard: {
37083
+ parameters: {
37084
+ query?: never;
37085
+ header?: never;
37086
+ path?: never;
37087
+ cookie?: never;
37088
+ };
37089
+ requestBody?: {
37090
+ content: {
37091
+ "application/json": {
37092
+ accountId?: string | null;
37093
+ /** @description Value in cents (100 = 1€) */
37094
+ amount: number;
37095
+ currency?: string | null;
37096
+ };
37097
+ };
37098
+ };
37099
+ responses: {
37100
+ /** @description Successful response */
37101
+ 200: {
37102
+ headers: {
37103
+ [name: string]: unknown;
37104
+ };
37105
+ content: {
37106
+ "application/json": {
37107
+ /** @description Value in cents (100 = 1€) */
37108
+ amount: number;
37109
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
37110
+ currency: string;
37111
+ updatedAt?: string | null;
37112
+ transactionId?: string | null;
37113
+ account?: {
37114
+ /** Format: uuid */
37115
+ id: string;
37116
+ name: string;
37117
+ } | null;
37118
+ };
37119
+ };
37120
+ };
37121
+ /** @description Bad request */
37122
+ 400: {
37123
+ headers: {
37124
+ [name: string]: unknown;
37125
+ };
37126
+ content: {
37127
+ "application/json": {
37128
+ code: string;
37129
+ message: string;
37130
+ issues?: {
37131
+ message: string;
37132
+ }[];
37133
+ context?: unknown;
37134
+ };
37135
+ };
37136
+ };
37137
+ /** @description Unauthorized */
37138
+ 401: {
37139
+ headers: {
37140
+ [name: string]: unknown;
37141
+ };
37142
+ content: {
37143
+ "application/json": {
37144
+ code: string;
37145
+ message: string;
37146
+ issues?: {
37147
+ message: string;
37148
+ }[];
37149
+ context?: unknown;
37150
+ };
37151
+ };
37152
+ };
37153
+ /** @description Forbidden */
37154
+ 403: {
37155
+ headers: {
37156
+ [name: string]: unknown;
37157
+ };
37158
+ content: {
37159
+ "application/json": {
37160
+ code: string;
37161
+ message: string;
37162
+ issues?: {
37163
+ message: string;
37164
+ }[];
37165
+ context?: unknown;
37166
+ };
37167
+ };
37168
+ };
37169
+ /** @description Not found */
37170
+ 404: {
37171
+ headers: {
37172
+ [name: string]: unknown;
37173
+ };
37174
+ content: {
37175
+ "application/json": {
37176
+ code: string;
37177
+ message: string;
37178
+ issues?: {
37179
+ message: string;
37180
+ }[];
37181
+ context?: unknown;
37182
+ };
37183
+ };
37184
+ };
37185
+ /** @description Internal server error */
37186
+ 500: {
37187
+ headers: {
37188
+ [name: string]: unknown;
37189
+ };
37190
+ content: {
37191
+ "application/json": {
37192
+ code: string;
37193
+ message: string;
37194
+ issues?: {
37195
+ message: string;
37196
+ }[];
37197
+ context?: unknown;
37198
+ };
37199
+ };
37200
+ };
37201
+ };
37202
+ };
37203
+ getTeamsOpeningBalancesOther: {
37204
+ parameters: {
37205
+ query?: never;
37206
+ header?: never;
37207
+ path?: never;
37208
+ cookie?: never;
37209
+ };
37210
+ requestBody?: never;
37211
+ responses: {
37212
+ /** @description Successful response */
37213
+ 200: {
37214
+ headers: {
37215
+ [name: string]: unknown;
37216
+ };
37217
+ content: {
37218
+ "application/json": {
37219
+ /** @description Value in cents (100 = 1€) */
37220
+ amount: number;
37221
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
37222
+ currency: string;
37223
+ updatedAt?: string | null;
37224
+ transactionId?: string | null;
37225
+ account?: {
37226
+ /** Format: uuid */
37227
+ id: string;
37228
+ name: string;
37229
+ } | null;
37230
+ };
37231
+ };
37232
+ };
37233
+ /** @description Bad request */
37234
+ 400: {
37235
+ headers: {
37236
+ [name: string]: unknown;
37237
+ };
37238
+ content: {
37239
+ "application/json": {
37240
+ code: string;
37241
+ message: string;
37242
+ issues?: {
37243
+ message: string;
37244
+ }[];
37245
+ context?: unknown;
37246
+ };
37247
+ };
37248
+ };
37249
+ /** @description Unauthorized */
37250
+ 401: {
37251
+ headers: {
37252
+ [name: string]: unknown;
37253
+ };
37254
+ content: {
37255
+ "application/json": {
37256
+ code: string;
37257
+ message: string;
37258
+ issues?: {
37259
+ message: string;
37260
+ }[];
37261
+ context?: unknown;
37262
+ };
37263
+ };
37264
+ };
37265
+ /** @description Forbidden */
37266
+ 403: {
37267
+ headers: {
37268
+ [name: string]: unknown;
37269
+ };
37270
+ content: {
37271
+ "application/json": {
37272
+ code: string;
37273
+ message: string;
37274
+ issues?: {
37275
+ message: string;
37276
+ }[];
37277
+ context?: unknown;
37278
+ };
37279
+ };
37280
+ };
37281
+ /** @description Not found */
37282
+ 404: {
37283
+ headers: {
37284
+ [name: string]: unknown;
37285
+ };
37286
+ content: {
37287
+ "application/json": {
37288
+ code: string;
37289
+ message: string;
37290
+ issues?: {
37291
+ message: string;
37292
+ }[];
37293
+ context?: unknown;
37294
+ };
37295
+ };
37296
+ };
37297
+ /** @description Internal server error */
37298
+ 500: {
37299
+ headers: {
37300
+ [name: string]: unknown;
37301
+ };
37302
+ content: {
37303
+ "application/json": {
37304
+ code: string;
37305
+ message: string;
37306
+ issues?: {
37307
+ message: string;
37308
+ }[];
37309
+ context?: unknown;
37310
+ };
37311
+ };
37312
+ };
37313
+ };
37314
+ };
37315
+ putTeamsOpeningBalancesOther: {
37316
+ parameters: {
37317
+ query?: never;
37318
+ header?: never;
37319
+ path?: never;
37320
+ cookie?: never;
37321
+ };
37322
+ requestBody?: {
37323
+ content: {
37324
+ "application/json": {
37325
+ accountId?: string | null;
37326
+ /** @description Value in cents (100 = 1€) */
37327
+ amount: number;
37328
+ currency?: string | null;
37329
+ };
37330
+ };
37331
+ };
37332
+ responses: {
37333
+ /** @description Successful response */
37334
+ 200: {
37335
+ headers: {
37336
+ [name: string]: unknown;
37337
+ };
37338
+ content: {
37339
+ "application/json": {
37340
+ /** @description Value in cents (100 = 1€) */
37341
+ amount: number;
37342
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
37343
+ currency: string;
37344
+ updatedAt?: string | null;
37345
+ transactionId?: string | null;
37346
+ account?: {
37347
+ /** Format: uuid */
37348
+ id: string;
37349
+ name: string;
37350
+ } | null;
37351
+ };
37352
+ };
37353
+ };
37354
+ /** @description Bad request */
37355
+ 400: {
37356
+ headers: {
37357
+ [name: string]: unknown;
37358
+ };
37359
+ content: {
37360
+ "application/json": {
37361
+ code: string;
37362
+ message: string;
37363
+ issues?: {
37364
+ message: string;
37365
+ }[];
37366
+ context?: unknown;
37367
+ };
37368
+ };
37369
+ };
37370
+ /** @description Unauthorized */
37371
+ 401: {
37372
+ headers: {
37373
+ [name: string]: unknown;
37374
+ };
37375
+ content: {
37376
+ "application/json": {
37377
+ code: string;
37378
+ message: string;
37379
+ issues?: {
37380
+ message: string;
37381
+ }[];
37382
+ context?: unknown;
37383
+ };
37384
+ };
37385
+ };
37386
+ /** @description Forbidden */
37387
+ 403: {
37388
+ headers: {
37389
+ [name: string]: unknown;
37390
+ };
37391
+ content: {
37392
+ "application/json": {
37393
+ code: string;
37394
+ message: string;
37395
+ issues?: {
37396
+ message: string;
37397
+ }[];
37398
+ context?: unknown;
37399
+ };
37400
+ };
37401
+ };
37402
+ /** @description Not found */
37403
+ 404: {
37404
+ headers: {
37405
+ [name: string]: unknown;
37406
+ };
37407
+ content: {
37408
+ "application/json": {
37409
+ code: string;
37410
+ message: string;
37411
+ issues?: {
37412
+ message: string;
37413
+ }[];
37414
+ context?: unknown;
37415
+ };
37416
+ };
37417
+ };
37418
+ /** @description Internal server error */
37419
+ 500: {
37420
+ headers: {
37421
+ [name: string]: unknown;
37422
+ };
37423
+ content: {
37424
+ "application/json": {
37425
+ code: string;
37426
+ message: string;
37427
+ issues?: {
37428
+ message: string;
37429
+ }[];
37430
+ context?: unknown;
37431
+ };
37432
+ };
37433
+ };
37434
+ };
37435
+ };
37436
+ getTeamsOpeningBalancesTaxPayable: {
36485
37437
  parameters: {
36486
37438
  query?: never;
36487
37439
  header?: never;
@@ -38553,13 +39505,10 @@ export interface operations {
38553
39505
  type?: "deposit" | "expense" | "transfer" | "payout";
38554
39506
  isOpeningBalance?: boolean;
38555
39507
  status?: "active" | "inactive";
38556
- /** @description When true, include nested line items in each returned transaction. */
38557
39508
  includeLines?: boolean;
38558
39509
  accountId?: string;
38559
39510
  last4?: string;
38560
- /** @description Filter by lock state. True returns locked rows; false returns unlocked rows. */
38561
39511
  isLocked?: boolean;
38562
- /** @description Filter by whether the transaction has at least one active journal entry. */
38563
39512
  hasActiveJournalEntries?: boolean;
38564
39513
  /** @description connection id or 'null' */
38565
39514
  connectionId?: string;
@@ -38573,17 +39522,14 @@ export interface operations {
38573
39522
  isDateRangeEndInclusive?: boolean;
38574
39523
  /** @description Comma-separated transaction unique refs. */
38575
39524
  uniqueRefs?: string;
38576
- /** @description Comma-separated transaction short refs. */
38577
39525
  shortRefs?: string;
38578
- /** @description Comma-separated transaction ids. */
38579
39526
  ids?: string;
38580
39527
  search?: string;
38581
39528
  recurringTemplateId?: string;
38582
39529
  paidStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
38583
- /** @description Filter by reconciled state. True returns reconciled rows; false returns unreconciled rows. */
39530
+ /** @description Filter transactions by reconciled state. True only returns reconciled transactions. */
38584
39531
  reconciled?: boolean;
38585
39532
  contactId?: string;
38586
- /** @description Comma-separated listing ids. */
38587
39533
  listingIds?: string;
38588
39534
  limit?: number;
38589
39535
  page?: number;
@@ -39652,13 +40598,10 @@ export interface operations {
39652
40598
  type?: "deposit" | "expense" | "transfer" | "payout";
39653
40599
  isOpeningBalance?: boolean;
39654
40600
  status?: "active" | "inactive";
39655
- /** @description When true, include nested line items in each returned transaction. */
39656
40601
  includeLines?: boolean;
39657
40602
  accountId?: string;
39658
40603
  last4?: string;
39659
- /** @description Filter by lock state. True returns locked rows; false returns unlocked rows. */
39660
40604
  isLocked?: boolean;
39661
- /** @description Filter by whether the transaction has at least one active journal entry. */
39662
40605
  hasActiveJournalEntries?: boolean;
39663
40606
  /** @description connection id or 'null' */
39664
40607
  connectionId?: string;
@@ -39672,17 +40615,14 @@ export interface operations {
39672
40615
  isDateRangeEndInclusive?: boolean;
39673
40616
  /** @description Comma-separated transaction unique refs. */
39674
40617
  uniqueRefs?: string;
39675
- /** @description Comma-separated transaction short refs. */
39676
40618
  shortRefs?: string;
39677
- /** @description Comma-separated transaction ids. */
39678
40619
  ids?: string;
39679
40620
  search?: string;
39680
40621
  recurringTemplateId?: string;
39681
40622
  paidStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
39682
- /** @description Filter by reconciled state. True returns reconciled rows; false returns unreconciled rows. */
40623
+ /** @description Filter transactions by reconciled state. True only returns reconciled transactions. */
39683
40624
  reconciled?: boolean;
39684
40625
  contactId?: string;
39685
- /** @description Comma-separated listing ids. */
39686
40626
  listingIds?: string;
39687
40627
  };
39688
40628
  header?: never;
@@ -39790,13 +40730,10 @@ export interface operations {
39790
40730
  type?: "deposit" | "expense" | "transfer" | "payout";
39791
40731
  isOpeningBalance?: boolean;
39792
40732
  status?: "active" | "inactive";
39793
- /** @description When true, include nested line items in each returned transaction. */
39794
40733
  includeLines?: boolean;
39795
40734
  accountId?: string;
39796
40735
  last4?: string;
39797
- /** @description Filter by lock state. True returns locked rows; false returns unlocked rows. */
39798
40736
  isLocked?: boolean;
39799
- /** @description Filter by whether the transaction has at least one active journal entry. */
39800
40737
  hasActiveJournalEntries?: boolean;
39801
40738
  /** @description connection id or 'null' */
39802
40739
  connectionId?: string;
@@ -39810,17 +40747,14 @@ export interface operations {
39810
40747
  isDateRangeEndInclusive?: boolean;
39811
40748
  /** @description Comma-separated transaction unique refs. */
39812
40749
  uniqueRefs?: string;
39813
- /** @description Comma-separated transaction short refs. */
39814
40750
  shortRefs?: string;
39815
- /** @description Comma-separated transaction ids. */
39816
40751
  ids?: string;
39817
40752
  search?: string;
39818
40753
  recurringTemplateId?: string;
39819
40754
  paidStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
39820
- /** @description Filter by reconciled state. True returns reconciled rows; false returns unreconciled rows. */
40755
+ /** @description Filter transactions by reconciled state. True only returns reconciled transactions. */
39821
40756
  reconciled?: boolean;
39822
40757
  contactId?: string;
39823
- /** @description Comma-separated listing ids. */
39824
40758
  listingIds?: string;
39825
40759
  };
39826
40760
  header?: never;
@@ -39928,13 +40862,10 @@ export interface operations {
39928
40862
  type?: "deposit" | "expense" | "transfer" | "payout";
39929
40863
  isOpeningBalance?: boolean;
39930
40864
  status?: "active" | "inactive";
39931
- /** @description When true, include nested line items in each returned transaction. */
39932
40865
  includeLines?: boolean;
39933
40866
  accountId?: string;
39934
40867
  last4?: string;
39935
- /** @description Filter by lock state. True returns locked rows; false returns unlocked rows. */
39936
40868
  isLocked?: boolean;
39937
- /** @description Filter by whether the transaction has at least one active journal entry. */
39938
40869
  hasActiveJournalEntries?: boolean;
39939
40870
  /** @description connection id or 'null' */
39940
40871
  connectionId?: string;
@@ -39948,17 +40879,14 @@ export interface operations {
39948
40879
  isDateRangeEndInclusive?: boolean;
39949
40880
  /** @description Comma-separated transaction unique refs. */
39950
40881
  uniqueRefs?: string;
39951
- /** @description Comma-separated transaction short refs. */
39952
40882
  shortRefs?: string;
39953
- /** @description Comma-separated transaction ids. */
39954
40883
  ids?: string;
39955
40884
  search?: string;
39956
40885
  recurringTemplateId?: string;
39957
40886
  paidStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
39958
- /** @description Filter by reconciled state. True returns reconciled rows; false returns unreconciled rows. */
40887
+ /** @description Filter transactions by reconciled state. True only returns reconciled transactions. */
39959
40888
  reconciled?: boolean;
39960
40889
  contactId?: string;
39961
- /** @description Comma-separated listing ids. */
39962
40890
  listingIds?: string;
39963
40891
  };
39964
40892
  header?: never;
@@ -40408,13 +41336,10 @@ export interface operations {
40408
41336
  type?: "deposit" | "expense" | "transfer" | "payout";
40409
41337
  isOpeningBalance?: boolean;
40410
41338
  status?: "active" | "inactive";
40411
- /** @description When true, include nested line items in each returned transaction. */
40412
41339
  includeLines?: boolean;
40413
41340
  accountId?: string;
40414
41341
  last4?: string;
40415
- /** @description Filter by lock state. True returns locked rows; false returns unlocked rows. */
40416
41342
  isLocked?: boolean;
40417
- /** @description Filter by whether the transaction has at least one active journal entry. */
40418
41343
  hasActiveJournalEntries?: boolean;
40419
41344
  /** @description connection id or 'null' */
40420
41345
  connectionId?: string;
@@ -40428,17 +41353,14 @@ export interface operations {
40428
41353
  isDateRangeEndInclusive?: boolean;
40429
41354
  /** @description Comma-separated transaction unique refs. */
40430
41355
  uniqueRefs?: string;
40431
- /** @description Comma-separated transaction short refs. */
40432
41356
  shortRefs?: string;
40433
- /** @description Comma-separated transaction ids. */
40434
41357
  ids?: string;
40435
41358
  search?: string;
40436
41359
  recurringTemplateId?: string;
40437
41360
  paidStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
40438
- /** @description Filter by reconciled state. True returns reconciled rows; false returns unreconciled rows. */
41361
+ /** @description Filter transactions by reconciled state. True only returns reconciled transactions. */
40439
41362
  reconciled?: boolean;
40440
41363
  contactId?: string;
40441
- /** @description Comma-separated listing ids. */
40442
41364
  listingIds?: string;
40443
41365
  };
40444
41366
  header?: never;
@@ -42267,13 +43189,10 @@ export interface operations {
42267
43189
  type?: "deposit" | "expense" | "transfer" | "payout";
42268
43190
  isOpeningBalance?: boolean;
42269
43191
  status?: "active" | "inactive";
42270
- /** @description When true, include nested line items in each returned transaction. */
42271
43192
  includeLines?: boolean;
42272
43193
  accountId?: string;
42273
43194
  last4?: string;
42274
- /** @description Filter by lock state. True returns locked rows; false returns unlocked rows. */
42275
43195
  isLocked?: boolean;
42276
- /** @description Filter by whether the transaction has at least one active journal entry. */
42277
43196
  hasActiveJournalEntries?: boolean;
42278
43197
  /** @description connection id or 'null' */
42279
43198
  connectionId?: string;
@@ -42287,17 +43206,14 @@ export interface operations {
42287
43206
  isDateRangeEndInclusive?: boolean;
42288
43207
  /** @description Comma-separated transaction unique refs. */
42289
43208
  uniqueRefs?: string;
42290
- /** @description Comma-separated transaction short refs. */
42291
43209
  shortRefs?: string;
42292
- /** @description Comma-separated transaction ids. */
42293
43210
  ids?: string;
42294
43211
  search?: string;
42295
43212
  recurringTemplateId?: string;
42296
43213
  paidStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
42297
- /** @description Filter by reconciled state. True returns reconciled rows; false returns unreconciled rows. */
43214
+ /** @description Filter transactions by reconciled state. True only returns reconciled transactions. */
42298
43215
  reconciled?: boolean;
42299
43216
  contactId?: string;
42300
- /** @description Comma-separated listing ids. */
42301
43217
  listingIds?: string;
42302
43218
  };
42303
43219
  header?: never;