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