@vrplatform/api 1.3.1-1531 → 1.3.1-1541

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.
@@ -1670,6 +1670,23 @@ export interface paths {
1670
1670
  patch?: never;
1671
1671
  trace?: never;
1672
1672
  };
1673
+ "/statements/pdf/batch": {
1674
+ parameters: {
1675
+ query?: never;
1676
+ header?: never;
1677
+ path?: never;
1678
+ cookie?: never;
1679
+ };
1680
+ /** @description Get Owner Statements ZIP for a month */
1681
+ get: operations["getStatementsPdfBatch"];
1682
+ put?: never;
1683
+ post?: never;
1684
+ delete?: never;
1685
+ options?: never;
1686
+ head?: never;
1687
+ patch?: never;
1688
+ trace?: never;
1689
+ };
1673
1690
  "/statements/totals": {
1674
1691
  parameters: {
1675
1692
  query?: never;
@@ -1986,6 +2003,23 @@ export interface paths {
1986
2003
  patch?: never;
1987
2004
  trace?: never;
1988
2005
  };
2006
+ "/transactions/by-last4": {
2007
+ parameters: {
2008
+ query?: never;
2009
+ header?: never;
2010
+ path?: never;
2011
+ cookie?: never;
2012
+ };
2013
+ /** @description Deposit transactions grouped by last 4 digits */
2014
+ get: operations["getTransactionsBy-last4"];
2015
+ put?: never;
2016
+ post?: never;
2017
+ delete?: never;
2018
+ options?: never;
2019
+ head?: never;
2020
+ patch?: never;
2021
+ trace?: never;
2022
+ };
1989
2023
  "/transactions/journal-entries": {
1990
2024
  parameters: {
1991
2025
  query?: never;
@@ -2144,6 +2178,23 @@ export interface paths {
2144
2178
  patch?: never;
2145
2179
  trace?: never;
2146
2180
  };
2181
+ "/transactions/{transactionId}/lines/{id}/description": {
2182
+ parameters: {
2183
+ query?: never;
2184
+ header?: never;
2185
+ path?: never;
2186
+ cookie?: never;
2187
+ };
2188
+ get?: never;
2189
+ put?: never;
2190
+ post?: never;
2191
+ delete?: never;
2192
+ options?: never;
2193
+ head?: never;
2194
+ /** @description Update a transaction line description (books-closed lock only) */
2195
+ patch: operations["patchTransactions:transactionIdLines:idDescription"];
2196
+ trace?: never;
2197
+ };
2147
2198
  }
2148
2199
  export type webhooks = Record<string, never>;
2149
2200
  export interface components {
@@ -3114,7 +3165,10 @@ export interface operations {
3114
3165
  taxRate?: {
3115
3166
  id: string;
3116
3167
  name: string;
3117
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
3168
+ /**
3169
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
3170
+ * @example 100000
3171
+ */
3118
3172
  basisPoints: number;
3119
3173
  } | null;
3120
3174
  } | null;
@@ -3161,13 +3215,22 @@ export interface operations {
3161
3215
  }[];
3162
3216
  } | null;
3163
3217
  } | null;
3164
- issues: {
3218
+ issues: ({
3165
3219
  /** @constant */
3166
3220
  code: "line_unassignedAccount";
3167
3221
  /** @constant */
3168
3222
  severity: "error";
3169
3223
  context: Record<string, never>;
3170
- }[];
3224
+ } | {
3225
+ /** @constant */
3226
+ code: "bankAccountLast4Mismatch";
3227
+ /** @constant */
3228
+ severity: "warning";
3229
+ context: {
3230
+ accountLast4: string;
3231
+ transactionLast4: string;
3232
+ };
3233
+ })[];
3171
3234
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
3172
3235
  currency: string;
3173
3236
  /** @description Value in cents (100 = 1€) */
@@ -4008,6 +4071,7 @@ export interface operations {
4008
4071
  includeBalanceRecords?: boolean;
4009
4072
  /** @description Include matching transactions, optionally with max days offset */
4010
4073
  includeMatchingTransactions?: string;
4074
+ hasMatchingTransactions?: boolean;
4011
4075
  limit?: number;
4012
4076
  page?: number;
4013
4077
  };
@@ -5938,9 +6002,11 @@ export interface operations {
5938
6002
  getContacts: {
5939
6003
  parameters: {
5940
6004
  query?: {
6005
+ search?: string;
5941
6006
  status?: "active" | "inactive";
5942
6007
  type?: "owner" | "vendor";
5943
6008
  companyType?: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate";
6009
+ isIndividual?: boolean;
5944
6010
  /** @description comma separated contact short refs */
5945
6011
  shortRefs?: string;
5946
6012
  limit?: number;
@@ -7354,7 +7420,7 @@ export interface operations {
7354
7420
  entityId?: string;
7355
7421
  entityType?: "account" | "journalEntry" | "listingOwnershipPeriod" | "ownerStatement" | "recurringTransactionTemplate" | "reservation" | "tenant" | "transaction";
7356
7422
  status?: "pending" | "claimed" | "running" | "completed" | "failed" | "dead_letter";
7357
- effectType?: "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
7423
+ effectType?: "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
7358
7424
  page?: number;
7359
7425
  };
7360
7426
  header?: never;
@@ -7380,7 +7446,7 @@ export interface operations {
7380
7446
  apiEndpoint: string | null;
7381
7447
  };
7382
7448
  /** @enum {string} */
7383
- effectType: "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
7449
+ effectType: "CREATE_RECURRING_TRANSACTION_INSTANCE" | "JOURNAL_ENTRY_SET_ACTIVE" | "JOURNAL_ENTRY_SET_INACTIVE" | "LINK_JOURNAL_TO_OWNERSHIP_PERIOD" | "RECALCULATE_BANK_RECORD_BALANCES" | "REFRESH_RESERVATION_JOURNAL" | "MAP_DEPOSIT_TRANSACTIONS_BY_LAST4" | "REFRESH_TRANSACTION_JOURNAL" | "SEND_STATEMENT_NOTIFICATIONS" | "UPDATE_RESERVATION_LINKABLES" | "UPDATE_RESERVATION_PAYMENTS" | "TENANT_CLERK_ALLOWED_IDS_SYNC" | "TENANT_HYPERLINE_SYNC" | "TENANT_INIT" | "TENANT_LINEAR_WEBHOOK" | "TENANT_STATUS_TRACK" | "TENANT_SUSPENSION_EMAIL";
7384
7450
  payload: unknown;
7385
7451
  entity: ({
7386
7452
  /** @constant */
@@ -9681,8 +9747,6 @@ export interface operations {
9681
9747
  name: string;
9682
9748
  uniqueRef?: string | null;
9683
9749
  connectionId?: string | null;
9684
- /** @enum {string} */
9685
- status: "active" | "inactive";
9686
9750
  defaultCurrency?: string | null;
9687
9751
  address?: {
9688
9752
  full?: string | null;
@@ -9698,6 +9762,8 @@ export interface operations {
9698
9762
  /** Format: uuid */
9699
9763
  id: string;
9700
9764
  shortRef?: string | null;
9765
+ /** @enum {string} */
9766
+ status: "active" | "inactive";
9701
9767
  activeOwnership?: {
9702
9768
  /** Format: uuid */
9703
9769
  id: string;
@@ -9867,7 +9933,6 @@ export interface operations {
9867
9933
  name?: string | null;
9868
9934
  uniqueRef?: string | null;
9869
9935
  connectionId?: string | null;
9870
- status?: ("active" | "inactive") | null;
9871
9936
  defaultCurrency?: string | null;
9872
9937
  address?: {
9873
9938
  full?: string | null;
@@ -9921,8 +9986,6 @@ export interface operations {
9921
9986
  name: string;
9922
9987
  uniqueRef?: string | null;
9923
9988
  connectionId?: string | null;
9924
- /** @enum {string} */
9925
- status: "active" | "inactive";
9926
9989
  defaultCurrency?: string | null;
9927
9990
  address?: {
9928
9991
  full?: string | null;
@@ -9938,6 +10001,8 @@ export interface operations {
9938
10001
  /** Format: uuid */
9939
10002
  id: string;
9940
10003
  shortRef?: string | null;
10004
+ /** @enum {string} */
10005
+ status: "active" | "inactive";
9941
10006
  activeOwnership?: {
9942
10007
  /** Format: uuid */
9943
10008
  id: string;
@@ -10858,8 +10923,6 @@ export interface operations {
10858
10923
  name: string;
10859
10924
  uniqueRef?: string | null;
10860
10925
  connectionId?: string | null;
10861
- /** @enum {string} */
10862
- status: "active" | "inactive";
10863
10926
  defaultCurrency?: string | null;
10864
10927
  address?: {
10865
10928
  full?: string | null;
@@ -10875,6 +10938,8 @@ export interface operations {
10875
10938
  /** Format: uuid */
10876
10939
  id: string;
10877
10940
  shortRef?: string | null;
10941
+ /** @enum {string} */
10942
+ status: "active" | "inactive";
10878
10943
  activeOwnership?: {
10879
10944
  /** Format: uuid */
10880
10945
  id: string;
@@ -11036,7 +11101,6 @@ export interface operations {
11036
11101
  name?: string | null;
11037
11102
  uniqueRef?: string | null;
11038
11103
  connectionId?: string | null;
11039
- status?: ("active" | "inactive") | null;
11040
11104
  defaultCurrency?: string | null;
11041
11105
  address?: {
11042
11106
  full?: string | null;
@@ -11090,8 +11154,6 @@ export interface operations {
11090
11154
  name: string;
11091
11155
  uniqueRef?: string | null;
11092
11156
  connectionId?: string | null;
11093
- /** @enum {string} */
11094
- status: "active" | "inactive";
11095
11157
  defaultCurrency?: string | null;
11096
11158
  address?: {
11097
11159
  full?: string | null;
@@ -11107,6 +11169,8 @@ export interface operations {
11107
11169
  /** Format: uuid */
11108
11170
  id: string;
11109
11171
  shortRef?: string | null;
11172
+ /** @enum {string} */
11173
+ status: "active" | "inactive";
11110
11174
  activeOwnership?: {
11111
11175
  /** Format: uuid */
11112
11176
  id: string;
@@ -12434,13 +12498,18 @@ export interface operations {
12434
12498
  "application/json": {
12435
12499
  data: {
12436
12500
  name: string;
12501
+ description?: string | null;
12437
12502
  countryCode?: string | null;
12438
12503
  currency?: string | null;
12439
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
12504
+ /**
12505
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
12506
+ * @example 100000
12507
+ */
12440
12508
  basisPoints: number;
12441
12509
  type?: ("markup" | "tax") | null;
12442
12510
  uniqueRef?: string | null;
12443
12511
  status?: ("active" | "inactive") | null;
12512
+ behavior?: ("excluded" | "included") | null;
12444
12513
  accountId?: string | null;
12445
12514
  debitAccountId?: string | null;
12446
12515
  id: string;
@@ -12550,13 +12619,18 @@ export interface operations {
12550
12619
  content: {
12551
12620
  "application/json": {
12552
12621
  name: string;
12622
+ description?: string | null;
12553
12623
  countryCode?: string | null;
12554
12624
  currency?: string | null;
12555
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
12625
+ /**
12626
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
12627
+ * @example 100000
12628
+ */
12556
12629
  basisPoints: number;
12557
12630
  type?: ("markup" | "tax") | null;
12558
12631
  uniqueRef?: string | null;
12559
12632
  status?: ("active" | "inactive") | null;
12633
+ behavior?: ("excluded" | "included") | null;
12560
12634
  accountId?: string | null;
12561
12635
  debitAccountId?: string | null;
12562
12636
  };
@@ -12571,13 +12645,18 @@ export interface operations {
12571
12645
  content: {
12572
12646
  "application/json": {
12573
12647
  name: string;
12648
+ description?: string | null;
12574
12649
  countryCode?: string | null;
12575
12650
  currency?: string | null;
12576
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
12651
+ /**
12652
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
12653
+ * @example 100000
12654
+ */
12577
12655
  basisPoints: number;
12578
12656
  type?: ("markup" | "tax") | null;
12579
12657
  uniqueRef?: string | null;
12580
12658
  status?: ("active" | "inactive") | null;
12659
+ behavior?: ("excluded" | "included") | null;
12581
12660
  accountId?: string | null;
12582
12661
  debitAccountId?: string | null;
12583
12662
  id: string;
@@ -12679,13 +12758,18 @@ export interface operations {
12679
12758
  content: {
12680
12759
  "application/json": {
12681
12760
  name?: string;
12761
+ description?: string | null;
12682
12762
  countryCode?: string | null;
12683
12763
  currency?: string | null;
12684
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
12764
+ /**
12765
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
12766
+ * @example 100000
12767
+ */
12685
12768
  basisPoints?: number;
12686
12769
  type?: ("markup" | "tax") | null;
12687
12770
  uniqueRef?: string | null;
12688
12771
  status?: ("active" | "inactive") | null;
12772
+ behavior?: ("excluded" | "included") | null;
12689
12773
  accountId?: string | null;
12690
12774
  debitAccountId?: string | null;
12691
12775
  };
@@ -12700,13 +12784,18 @@ export interface operations {
12700
12784
  content: {
12701
12785
  "application/json": {
12702
12786
  name: string;
12787
+ description?: string | null;
12703
12788
  countryCode?: string | null;
12704
12789
  currency?: string | null;
12705
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
12790
+ /**
12791
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
12792
+ * @example 100000
12793
+ */
12706
12794
  basisPoints: number;
12707
12795
  type?: ("markup" | "tax") | null;
12708
12796
  uniqueRef?: string | null;
12709
12797
  status?: ("active" | "inactive") | null;
12798
+ behavior?: ("excluded" | "included") | null;
12710
12799
  accountId?: string | null;
12711
12800
  debitAccountId?: string | null;
12712
12801
  id: string;
@@ -12991,7 +13080,10 @@ export interface operations {
12991
13080
  taxRate?: {
12992
13081
  id: string;
12993
13082
  name: string;
12994
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
13083
+ /**
13084
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
13085
+ * @example 100000
13086
+ */
12995
13087
  basisPoints: number;
12996
13088
  } | null;
12997
13089
  activeListings: number;
@@ -13195,7 +13287,10 @@ export interface operations {
13195
13287
  taxRate?: {
13196
13288
  id: string;
13197
13289
  name: string;
13198
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
13290
+ /**
13291
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
13292
+ * @example 100000
13293
+ */
13199
13294
  basisPoints: number;
13200
13295
  } | null;
13201
13296
  activeListings: number;
@@ -14099,7 +14194,10 @@ export interface operations {
14099
14194
  taxRate?: {
14100
14195
  id: string;
14101
14196
  name: string;
14102
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
14197
+ /**
14198
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
14199
+ * @example 100000
14200
+ */
14103
14201
  basisPoints: number;
14104
14202
  } | null;
14105
14203
  activeListings: number;
@@ -14295,7 +14393,10 @@ export interface operations {
14295
14393
  taxRate?: {
14296
14394
  id: string;
14297
14395
  name: string;
14298
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
14396
+ /**
14397
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
14398
+ * @example 100000
14399
+ */
14299
14400
  basisPoints: number;
14300
14401
  } | null;
14301
14402
  activeListings: number;
@@ -16378,29 +16479,11 @@ export interface operations {
16378
16479
  layouts: {
16379
16480
  layoutId: string;
16380
16481
  layoutName: string;
16381
- statementIds: string[];
16382
- draftStatementRefs?: {
16383
- /** Format: uuid */
16384
- ownershipPeriodId: string;
16385
- /** @description Date in format YYYY-MM */
16386
- month: string;
16387
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
16388
- currency: string;
16389
- }[];
16390
16482
  netRevenueSection: {
16391
16483
  title: string;
16392
16484
  rows: {
16393
16485
  id: string;
16394
16486
  title: string;
16395
- statementIds?: string[];
16396
- draftStatementRefs?: {
16397
- /** Format: uuid */
16398
- ownershipPeriodId: string;
16399
- /** @description Date in format YYYY-MM */
16400
- month: string;
16401
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
16402
- currency: string;
16403
- }[];
16404
16487
  ownerStatements?: {
16405
16488
  id?: string | null;
16406
16489
  /** Format: uuid */
@@ -16434,15 +16517,6 @@ export interface operations {
16434
16517
  rows: {
16435
16518
  id: string;
16436
16519
  title: string;
16437
- statementIds?: string[];
16438
- draftStatementRefs?: {
16439
- /** Format: uuid */
16440
- ownershipPeriodId: string;
16441
- /** @description Date in format YYYY-MM */
16442
- month: string;
16443
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
16444
- currency: string;
16445
- }[];
16446
16520
  ownerStatements?: {
16447
16521
  id?: string | null;
16448
16522
  /** Format: uuid */
@@ -16476,15 +16550,6 @@ export interface operations {
16476
16550
  rows: {
16477
16551
  id: string;
16478
16552
  title: string;
16479
- statementIds?: string[];
16480
- draftStatementRefs?: {
16481
- /** Format: uuid */
16482
- ownershipPeriodId: string;
16483
- /** @description Date in format YYYY-MM */
16484
- month: string;
16485
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
16486
- currency: string;
16487
- }[];
16488
16553
  ownerStatements?: {
16489
16554
  id?: string | null;
16490
16555
  /** Format: uuid */
@@ -18036,6 +18101,7 @@ export interface operations {
18036
18101
  connectionId?: string;
18037
18102
  bookingChannel?: string;
18038
18103
  amount?: number;
18104
+ businessModel?: "managed" | "co_host" | "co_host_airbnb";
18039
18105
  includeLines?: boolean;
18040
18106
  limit?: number;
18041
18107
  page?: number;
@@ -21934,6 +22000,16 @@ export interface operations {
21934
22000
  statementCreatedAt?: string | null;
21935
22001
  };
21936
22002
  message: string;
22003
+ } | {
22004
+ /** @constant */
22005
+ code: "invalidDateRange";
22006
+ /** @constant */
22007
+ severity: "error";
22008
+ context: {
22009
+ startAt: string;
22010
+ endAt: string;
22011
+ };
22012
+ message: string;
21937
22013
  })[];
21938
22014
  transfers: {
21939
22015
  id: string;
@@ -22257,6 +22333,16 @@ export interface operations {
22257
22333
  statementCreatedAt?: string | null;
22258
22334
  };
22259
22335
  message: string;
22336
+ } | {
22337
+ /** @constant */
22338
+ code: "invalidDateRange";
22339
+ /** @constant */
22340
+ severity: "error";
22341
+ context: {
22342
+ startAt: string;
22343
+ endAt: string;
22344
+ };
22345
+ message: string;
22260
22346
  })[];
22261
22347
  transfers: {
22262
22348
  id: string;
@@ -22291,6 +22377,7 @@ export interface operations {
22291
22377
  name: string;
22292
22378
  locked?: boolean | null;
22293
22379
  visible?: ("all" | "manager" | "owner" | "none") | null;
22380
+ aggregate?: boolean | null;
22294
22381
  columns: ({
22295
22382
  id?: string | null;
22296
22383
  name: string;
@@ -22408,6 +22495,10 @@ export interface operations {
22408
22495
  /** @enum {string} */
22409
22496
  type: "deposit" | "expense" | "transfer";
22410
22497
  description: string;
22498
+ lines: {
22499
+ id: string;
22500
+ description: string;
22501
+ }[];
22411
22502
  recurringFee: {
22412
22503
  id: string;
22413
22504
  } | null;
@@ -22780,6 +22871,16 @@ export interface operations {
22780
22871
  statementCreatedAt?: string | null;
22781
22872
  };
22782
22873
  message: string;
22874
+ } | {
22875
+ /** @constant */
22876
+ code: "invalidDateRange";
22877
+ /** @constant */
22878
+ severity: "error";
22879
+ context: {
22880
+ startAt: string;
22881
+ endAt: string;
22882
+ };
22883
+ message: string;
22783
22884
  })[];
22784
22885
  transfers: {
22785
22886
  id: string;
@@ -22814,6 +22915,7 @@ export interface operations {
22814
22915
  name: string;
22815
22916
  locked?: boolean | null;
22816
22917
  visible?: ("all" | "manager" | "owner" | "none") | null;
22918
+ aggregate?: boolean | null;
22817
22919
  columns: ({
22818
22920
  id?: string | null;
22819
22921
  name: string;
@@ -22931,6 +23033,10 @@ export interface operations {
22931
23033
  /** @enum {string} */
22932
23034
  type: "deposit" | "expense" | "transfer";
22933
23035
  description: string;
23036
+ lines: {
23037
+ id: string;
23038
+ description: string;
23039
+ }[];
22934
23040
  recurringFee: {
22935
23041
  id: string;
22936
23042
  } | null;
@@ -23172,6 +23278,7 @@ export interface operations {
23172
23278
  name: string;
23173
23279
  locked?: boolean | null;
23174
23280
  visible?: ("all" | "manager" | "owner" | "none") | null;
23281
+ aggregate?: boolean | null;
23175
23282
  columns: ({
23176
23283
  id?: string | null;
23177
23284
  name: string;
@@ -23364,6 +23471,7 @@ export interface operations {
23364
23471
  name: string;
23365
23472
  locked?: boolean | null;
23366
23473
  visible?: ("all" | "manager" | "owner" | "none") | null;
23474
+ aggregate?: boolean | null;
23367
23475
  columns: ({
23368
23476
  id?: string | null;
23369
23477
  name: string;
@@ -23424,6 +23532,7 @@ export interface operations {
23424
23532
  name: string;
23425
23533
  locked?: boolean | null;
23426
23534
  visible?: ("all" | "manager" | "owner" | "none") | null;
23535
+ aggregate?: boolean | null;
23427
23536
  columns: ({
23428
23537
  id?: string | null;
23429
23538
  name: string;
@@ -23613,6 +23722,7 @@ export interface operations {
23613
23722
  name: string;
23614
23723
  locked?: boolean | null;
23615
23724
  visible?: ("all" | "manager" | "owner" | "none") | null;
23725
+ aggregate?: boolean | null;
23616
23726
  columns: ({
23617
23727
  id?: string | null;
23618
23728
  name: string;
@@ -23797,6 +23907,7 @@ export interface operations {
23797
23907
  name: string;
23798
23908
  locked?: boolean | null;
23799
23909
  visible?: ("all" | "manager" | "owner" | "none") | null;
23910
+ aggregate?: boolean | null;
23800
23911
  columns: ({
23801
23912
  id?: string | null;
23802
23913
  name: string;
@@ -23857,6 +23968,7 @@ export interface operations {
23857
23968
  name: string;
23858
23969
  locked?: boolean | null;
23859
23970
  visible?: ("all" | "manager" | "owner" | "none") | null;
23971
+ aggregate?: boolean | null;
23860
23972
  columns: ({
23861
23973
  id?: string | null;
23862
23974
  name: string;
@@ -24230,7 +24342,10 @@ export interface operations {
24230
24342
  taxRate?: {
24231
24343
  id: string;
24232
24344
  name: string;
24233
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
24345
+ /**
24346
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
24347
+ * @example 100000
24348
+ */
24234
24349
  basisPoints: number;
24235
24350
  } | null;
24236
24351
  } | null;
@@ -24277,13 +24392,22 @@ export interface operations {
24277
24392
  }[];
24278
24393
  } | null;
24279
24394
  } | null;
24280
- issues: {
24395
+ issues: ({
24281
24396
  /** @constant */
24282
24397
  code: "line_unassignedAccount";
24283
24398
  /** @constant */
24284
24399
  severity: "error";
24285
24400
  context: Record<string, never>;
24286
- }[];
24401
+ } | {
24402
+ /** @constant */
24403
+ code: "bankAccountLast4Mismatch";
24404
+ /** @constant */
24405
+ severity: "warning";
24406
+ context: {
24407
+ accountLast4: string;
24408
+ transactionLast4: string;
24409
+ };
24410
+ })[];
24287
24411
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
24288
24412
  currency: string;
24289
24413
  /** @description Value in cents (100 = 1€) */
@@ -24545,20 +24669,15 @@ export interface operations {
24545
24669
  };
24546
24670
  };
24547
24671
  };
24548
- getStatementsTotals: {
24672
+ getStatementsPdfBatch: {
24549
24673
  parameters: {
24550
24674
  query: {
24675
+ /** @description comma separated ownership periods */
24676
+ ownershipPeriodIds: string;
24551
24677
  /** @description Date in format YYYY-MM */
24552
24678
  month: string;
24553
- /** @description comma separated listings */
24554
- listingIds?: string;
24555
- /** @description comma separated owners */
24556
- ownerIds?: string;
24557
- status?: ("draft" | "inReview" | "void" | "published") | "all";
24558
24679
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
24559
24680
  currency?: string;
24560
- search?: string;
24561
- includePreviousUnattached?: boolean;
24562
24681
  };
24563
24682
  header?: never;
24564
24683
  path?: never;
@@ -24573,25 +24692,8 @@ export interface operations {
24573
24692
  };
24574
24693
  content: {
24575
24694
  "application/json": {
24576
- aggregates: {
24577
- /** @description Value in cents (100 = 1€) */
24578
- balanceStart: number;
24579
- /** @description Value in cents (100 = 1€) */
24580
- netRevenue: number;
24581
- /** @description Value in cents (100 = 1€) */
24582
- expenses: number;
24583
- /** @description Value in cents (100 = 1€) */
24584
- netIncome: number;
24585
- /** @description Value in cents (100 = 1€) */
24586
- transfers: number;
24587
- /** @description Value in cents (100 = 1€) */
24588
- balanceEnd: number;
24589
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
24590
- currency: string;
24591
- }[];
24592
- total: number;
24593
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
24594
- defaultCurrency: string;
24695
+ url: string;
24696
+ expIn: number;
24595
24697
  };
24596
24698
  };
24597
24699
  };
@@ -24677,15 +24779,23 @@ export interface operations {
24677
24779
  };
24678
24780
  };
24679
24781
  };
24680
- "getStatements:id": {
24782
+ getStatementsTotals: {
24681
24783
  parameters: {
24682
- query?: {
24683
- viewAs?: "owner" | "manager";
24784
+ query: {
24785
+ /** @description Date in format YYYY-MM */
24786
+ month: string;
24787
+ /** @description comma separated listings */
24788
+ listingIds?: string;
24789
+ /** @description comma separated owners */
24790
+ ownerIds?: string;
24791
+ status?: ("draft" | "inReview" | "void" | "published") | "all";
24792
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
24793
+ currency?: string;
24794
+ search?: string;
24795
+ includePreviousUnattached?: boolean;
24684
24796
  };
24685
24797
  header?: never;
24686
- path: {
24687
- id: string;
24688
- };
24798
+ path?: never;
24689
24799
  cookie?: never;
24690
24800
  };
24691
24801
  requestBody?: never;
@@ -24697,10 +24807,7 @@ export interface operations {
24697
24807
  };
24698
24808
  content: {
24699
24809
  "application/json": {
24700
- id: string | null;
24701
- /** @description Value in cents (100 = 1€) */
24702
- total: number;
24703
- financials: {
24810
+ aggregates: {
24704
24811
  /** @description Value in cents (100 = 1€) */
24705
24812
  balanceStart: number;
24706
24813
  /** @description Value in cents (100 = 1€) */
@@ -24713,32 +24820,159 @@ export interface operations {
24713
24820
  transfers: number;
24714
24821
  /** @description Value in cents (100 = 1€) */
24715
24822
  balanceEnd: number;
24716
- };
24717
- uniqueRef: string;
24823
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
24824
+ currency: string;
24825
+ }[];
24826
+ total: number;
24718
24827
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
24719
- currency: string;
24720
- startAt: string;
24721
- endAt: string;
24722
- issues: ({
24723
- /** @constant */
24724
- code: "emptyJournalEntryAccountIds";
24725
- /** @constant */
24726
- severity: "error";
24727
- context: {
24728
- affected: number;
24729
- };
24730
- message: string;
24731
- } | {
24732
- /** @constant */
24733
- code: "netRevenueLayoutMismatch";
24734
- /** @constant */
24735
- severity: "error";
24736
- context: Record<string, never>;
24828
+ defaultCurrency: string;
24829
+ };
24830
+ };
24831
+ };
24832
+ /** @description Bad request */
24833
+ 400: {
24834
+ headers: {
24835
+ [name: string]: unknown;
24836
+ };
24837
+ content: {
24838
+ "application/json": {
24839
+ code: string;
24840
+ message: string;
24841
+ issues?: {
24737
24842
  message: string;
24738
- } | {
24739
- /** @constant */
24740
- code: "listingInactive";
24741
- /** @constant */
24843
+ }[];
24844
+ context?: unknown;
24845
+ };
24846
+ };
24847
+ };
24848
+ /** @description Unauthorized */
24849
+ 401: {
24850
+ headers: {
24851
+ [name: string]: unknown;
24852
+ };
24853
+ content: {
24854
+ "application/json": {
24855
+ code: string;
24856
+ message: string;
24857
+ issues?: {
24858
+ message: string;
24859
+ }[];
24860
+ context?: unknown;
24861
+ };
24862
+ };
24863
+ };
24864
+ /** @description Forbidden */
24865
+ 403: {
24866
+ headers: {
24867
+ [name: string]: unknown;
24868
+ };
24869
+ content: {
24870
+ "application/json": {
24871
+ code: string;
24872
+ message: string;
24873
+ issues?: {
24874
+ message: string;
24875
+ }[];
24876
+ context?: unknown;
24877
+ };
24878
+ };
24879
+ };
24880
+ /** @description Not found */
24881
+ 404: {
24882
+ headers: {
24883
+ [name: string]: unknown;
24884
+ };
24885
+ content: {
24886
+ "application/json": {
24887
+ code: string;
24888
+ message: string;
24889
+ issues?: {
24890
+ message: string;
24891
+ }[];
24892
+ context?: unknown;
24893
+ };
24894
+ };
24895
+ };
24896
+ /** @description Internal server error */
24897
+ 500: {
24898
+ headers: {
24899
+ [name: string]: unknown;
24900
+ };
24901
+ content: {
24902
+ "application/json": {
24903
+ code: string;
24904
+ message: string;
24905
+ issues?: {
24906
+ message: string;
24907
+ }[];
24908
+ context?: unknown;
24909
+ };
24910
+ };
24911
+ };
24912
+ };
24913
+ };
24914
+ "getStatements:id": {
24915
+ parameters: {
24916
+ query?: {
24917
+ viewAs?: "owner" | "manager";
24918
+ };
24919
+ header?: never;
24920
+ path: {
24921
+ id: string;
24922
+ };
24923
+ cookie?: never;
24924
+ };
24925
+ requestBody?: never;
24926
+ responses: {
24927
+ /** @description Successful response */
24928
+ 200: {
24929
+ headers: {
24930
+ [name: string]: unknown;
24931
+ };
24932
+ content: {
24933
+ "application/json": {
24934
+ id: string | null;
24935
+ /** @description Value in cents (100 = 1€) */
24936
+ total: number;
24937
+ financials: {
24938
+ /** @description Value in cents (100 = 1€) */
24939
+ balanceStart: number;
24940
+ /** @description Value in cents (100 = 1€) */
24941
+ netRevenue: number;
24942
+ /** @description Value in cents (100 = 1€) */
24943
+ expenses: number;
24944
+ /** @description Value in cents (100 = 1€) */
24945
+ netIncome: number;
24946
+ /** @description Value in cents (100 = 1€) */
24947
+ transfers: number;
24948
+ /** @description Value in cents (100 = 1€) */
24949
+ balanceEnd: number;
24950
+ };
24951
+ uniqueRef: string;
24952
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
24953
+ currency: string;
24954
+ startAt: string;
24955
+ endAt: string;
24956
+ issues: ({
24957
+ /** @constant */
24958
+ code: "emptyJournalEntryAccountIds";
24959
+ /** @constant */
24960
+ severity: "error";
24961
+ context: {
24962
+ affected: number;
24963
+ };
24964
+ message: string;
24965
+ } | {
24966
+ /** @constant */
24967
+ code: "netRevenueLayoutMismatch";
24968
+ /** @constant */
24969
+ severity: "error";
24970
+ context: Record<string, never>;
24971
+ message: string;
24972
+ } | {
24973
+ /** @constant */
24974
+ code: "listingInactive";
24975
+ /** @constant */
24742
24976
  severity: "error";
24743
24977
  context: Record<string, never>;
24744
24978
  message: string;
@@ -24835,6 +25069,16 @@ export interface operations {
24835
25069
  statementCreatedAt?: string | null;
24836
25070
  };
24837
25071
  message: string;
25072
+ } | {
25073
+ /** @constant */
25074
+ code: "invalidDateRange";
25075
+ /** @constant */
25076
+ severity: "error";
25077
+ context: {
25078
+ startAt: string;
25079
+ endAt: string;
25080
+ };
25081
+ message: string;
24838
25082
  })[];
24839
25083
  transfers: {
24840
25084
  id: string;
@@ -24869,6 +25113,7 @@ export interface operations {
24869
25113
  name: string;
24870
25114
  locked?: boolean | null;
24871
25115
  visible?: ("all" | "manager" | "owner" | "none") | null;
25116
+ aggregate?: boolean | null;
24872
25117
  columns: ({
24873
25118
  id?: string | null;
24874
25119
  name: string;
@@ -24986,6 +25231,10 @@ export interface operations {
24986
25231
  /** @enum {string} */
24987
25232
  type: "deposit" | "expense" | "transfer";
24988
25233
  description: string;
25234
+ lines: {
25235
+ id: string;
25236
+ description: string;
25237
+ }[];
24989
25238
  recurringFee: {
24990
25239
  id: string;
24991
25240
  } | null;
@@ -25363,6 +25612,16 @@ export interface operations {
25363
25612
  statementCreatedAt?: string | null;
25364
25613
  };
25365
25614
  message: string;
25615
+ } | {
25616
+ /** @constant */
25617
+ code: "invalidDateRange";
25618
+ /** @constant */
25619
+ severity: "error";
25620
+ context: {
25621
+ startAt: string;
25622
+ endAt: string;
25623
+ };
25624
+ message: string;
25366
25625
  })[];
25367
25626
  transfers: {
25368
25627
  id: string;
@@ -25397,6 +25656,7 @@ export interface operations {
25397
25656
  name: string;
25398
25657
  locked?: boolean | null;
25399
25658
  visible?: ("all" | "manager" | "owner" | "none") | null;
25659
+ aggregate?: boolean | null;
25400
25660
  columns: ({
25401
25661
  id?: string | null;
25402
25662
  name: string;
@@ -25514,6 +25774,10 @@ export interface operations {
25514
25774
  /** @enum {string} */
25515
25775
  type: "deposit" | "expense" | "transfer";
25516
25776
  description: string;
25777
+ lines: {
25778
+ id: string;
25779
+ description: string;
25780
+ }[];
25517
25781
  recurringFee: {
25518
25782
  id: string;
25519
25783
  } | null;
@@ -28809,6 +29073,8 @@ export interface operations {
28809
29073
  status?: "active" | "inactive";
28810
29074
  includeLines?: boolean;
28811
29075
  accountId?: string;
29076
+ last4?: string;
29077
+ isLocked?: boolean;
28812
29078
  hasActiveJournalEntries?: boolean;
28813
29079
  /** @description connection id or 'null' */
28814
29080
  connectionId?: string;
@@ -28916,7 +29182,10 @@ export interface operations {
28916
29182
  taxRate?: {
28917
29183
  id: string;
28918
29184
  name: string;
28919
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
29185
+ /**
29186
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
29187
+ * @example 100000
29188
+ */
28920
29189
  basisPoints: number;
28921
29190
  } | null;
28922
29191
  } | null;
@@ -28963,13 +29232,22 @@ export interface operations {
28963
29232
  }[];
28964
29233
  } | null;
28965
29234
  } | null;
28966
- issues: {
29235
+ issues: ({
28967
29236
  /** @constant */
28968
29237
  code: "line_unassignedAccount";
28969
29238
  /** @constant */
28970
29239
  severity: "error";
28971
29240
  context: Record<string, never>;
28972
- }[];
29241
+ } | {
29242
+ /** @constant */
29243
+ code: "bankAccountLast4Mismatch";
29244
+ /** @constant */
29245
+ severity: "warning";
29246
+ context: {
29247
+ accountLast4: string;
29248
+ transactionLast4: string;
29249
+ };
29250
+ })[];
28973
29251
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
28974
29252
  currency: string;
28975
29253
  /** @description Value in cents (100 = 1€) */
@@ -29285,7 +29563,10 @@ export interface operations {
29285
29563
  taxRate?: {
29286
29564
  id: string;
29287
29565
  name: string;
29288
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
29566
+ /**
29567
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
29568
+ * @example 100000
29569
+ */
29289
29570
  basisPoints: number;
29290
29571
  } | null;
29291
29572
  } | null;
@@ -29332,13 +29613,22 @@ export interface operations {
29332
29613
  }[];
29333
29614
  } | null;
29334
29615
  } | null;
29335
- issues: {
29616
+ issues: ({
29336
29617
  /** @constant */
29337
29618
  code: "line_unassignedAccount";
29338
29619
  /** @constant */
29339
29620
  severity: "error";
29340
29621
  context: Record<string, never>;
29341
- }[];
29622
+ } | {
29623
+ /** @constant */
29624
+ code: "bankAccountLast4Mismatch";
29625
+ /** @constant */
29626
+ severity: "warning";
29627
+ context: {
29628
+ accountLast4: string;
29629
+ transactionLast4: string;
29630
+ };
29631
+ })[];
29342
29632
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
29343
29633
  currency: string;
29344
29634
  /** @description Value in cents (100 = 1€) */
@@ -29670,6 +29960,125 @@ export interface operations {
29670
29960
  };
29671
29961
  };
29672
29962
  };
29963
+ "getTransactionsBy-last4": {
29964
+ parameters: {
29965
+ query?: {
29966
+ /** @description Filter by status. Defaults to both. */
29967
+ status?: "active" | "inactive";
29968
+ limit?: number;
29969
+ page?: number;
29970
+ };
29971
+ header?: never;
29972
+ path?: never;
29973
+ cookie?: never;
29974
+ };
29975
+ requestBody?: never;
29976
+ responses: {
29977
+ /** @description Successful response */
29978
+ 200: {
29979
+ headers: {
29980
+ [name: string]: unknown;
29981
+ };
29982
+ content: {
29983
+ "application/json": {
29984
+ data: {
29985
+ last4: string;
29986
+ totalTransactions: number;
29987
+ }[];
29988
+ pagination: {
29989
+ /** @default 100 */
29990
+ limit: number;
29991
+ /** @default 1 */
29992
+ page: number;
29993
+ total: number;
29994
+ totalPage: number;
29995
+ nextPage?: number;
29996
+ };
29997
+ };
29998
+ };
29999
+ };
30000
+ /** @description Bad request */
30001
+ 400: {
30002
+ headers: {
30003
+ [name: string]: unknown;
30004
+ };
30005
+ content: {
30006
+ "application/json": {
30007
+ code: string;
30008
+ message: string;
30009
+ issues?: {
30010
+ message: string;
30011
+ }[];
30012
+ context?: unknown;
30013
+ };
30014
+ };
30015
+ };
30016
+ /** @description Unauthorized */
30017
+ 401: {
30018
+ headers: {
30019
+ [name: string]: unknown;
30020
+ };
30021
+ content: {
30022
+ "application/json": {
30023
+ code: string;
30024
+ message: string;
30025
+ issues?: {
30026
+ message: string;
30027
+ }[];
30028
+ context?: unknown;
30029
+ };
30030
+ };
30031
+ };
30032
+ /** @description Forbidden */
30033
+ 403: {
30034
+ headers: {
30035
+ [name: string]: unknown;
30036
+ };
30037
+ content: {
30038
+ "application/json": {
30039
+ code: string;
30040
+ message: string;
30041
+ issues?: {
30042
+ message: string;
30043
+ }[];
30044
+ context?: unknown;
30045
+ };
30046
+ };
30047
+ };
30048
+ /** @description Not found */
30049
+ 404: {
30050
+ headers: {
30051
+ [name: string]: unknown;
30052
+ };
30053
+ content: {
30054
+ "application/json": {
30055
+ code: string;
30056
+ message: string;
30057
+ issues?: {
30058
+ message: string;
30059
+ }[];
30060
+ context?: unknown;
30061
+ };
30062
+ };
30063
+ };
30064
+ /** @description Internal server error */
30065
+ 500: {
30066
+ headers: {
30067
+ [name: string]: unknown;
30068
+ };
30069
+ content: {
30070
+ "application/json": {
30071
+ code: string;
30072
+ message: string;
30073
+ issues?: {
30074
+ message: string;
30075
+ }[];
30076
+ context?: unknown;
30077
+ };
30078
+ };
30079
+ };
30080
+ };
30081
+ };
29673
30082
  "postTransactionsJournal-entries": {
29674
30083
  parameters: {
29675
30084
  query?: never;
@@ -30140,7 +30549,10 @@ export interface operations {
30140
30549
  taxRate?: {
30141
30550
  id: string;
30142
30551
  name: string;
30143
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
30552
+ /**
30553
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
30554
+ * @example 100000
30555
+ */
30144
30556
  basisPoints: number;
30145
30557
  } | null;
30146
30558
  } | null;
@@ -30310,6 +30722,11 @@ export interface operations {
30310
30722
  listingId?: string | null;
30311
30723
  party?: string | null;
30312
30724
  contactId?: string | null;
30725
+ markup?: {
30726
+ amount?: number | null;
30727
+ taxRateId?: string | null;
30728
+ taxBehavior?: ("excluded" | "included") | null;
30729
+ } | null;
30313
30730
  }[];
30314
30731
  skipInitialInstance?: boolean;
30315
30732
  };
@@ -30429,7 +30846,10 @@ export interface operations {
30429
30846
  taxRate?: {
30430
30847
  id: string;
30431
30848
  name: string;
30432
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
30849
+ /**
30850
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
30851
+ * @example 100000
30852
+ */
30433
30853
  basisPoints: number;
30434
30854
  } | null;
30435
30855
  } | null;
@@ -30798,7 +31218,10 @@ export interface operations {
30798
31218
  taxRate?: {
30799
31219
  id: string;
30800
31220
  name: string;
30801
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
31221
+ /**
31222
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
31223
+ * @example 100000
31224
+ */
30802
31225
  basisPoints: number;
30803
31226
  } | null;
30804
31227
  } | null;
@@ -30960,6 +31383,11 @@ export interface operations {
30960
31383
  listingId?: string | null;
30961
31384
  party?: string | null;
30962
31385
  contactId?: string | null;
31386
+ markup?: {
31387
+ amount?: number | null;
31388
+ taxRateId?: string | null;
31389
+ taxBehavior?: ("excluded" | "included") | null;
31390
+ } | null;
30963
31391
  }[];
30964
31392
  skipInitialInstance?: boolean;
30965
31393
  status?: ("active" | "inactive") | null;
@@ -31080,7 +31508,10 @@ export interface operations {
31080
31508
  taxRate?: {
31081
31509
  id: string;
31082
31510
  name: string;
31083
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
31511
+ /**
31512
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
31513
+ * @example 100000
31514
+ */
31084
31515
  basisPoints: number;
31085
31516
  } | null;
31086
31517
  } | null;
@@ -31415,7 +31846,10 @@ export interface operations {
31415
31846
  taxRate?: {
31416
31847
  id: string;
31417
31848
  name: string;
31418
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
31849
+ /**
31850
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
31851
+ * @example 100000
31852
+ */
31419
31853
  basisPoints: number;
31420
31854
  } | null;
31421
31855
  } | null;
@@ -31462,13 +31896,22 @@ export interface operations {
31462
31896
  }[];
31463
31897
  } | null;
31464
31898
  } | null;
31465
- issues: {
31899
+ issues: ({
31466
31900
  /** @constant */
31467
31901
  code: "line_unassignedAccount";
31468
31902
  /** @constant */
31469
31903
  severity: "error";
31470
31904
  context: Record<string, never>;
31471
- }[];
31905
+ } | {
31906
+ /** @constant */
31907
+ code: "bankAccountLast4Mismatch";
31908
+ /** @constant */
31909
+ severity: "warning";
31910
+ context: {
31911
+ accountLast4: string;
31912
+ transactionLast4: string;
31913
+ };
31914
+ })[];
31472
31915
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
31473
31916
  currency: string;
31474
31917
  /** @description Value in cents (100 = 1€) */
@@ -31709,7 +32152,10 @@ export interface operations {
31709
32152
  taxRate?: {
31710
32153
  id: string;
31711
32154
  name: string;
31712
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
32155
+ /**
32156
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
32157
+ * @example 100000
32158
+ */
31713
32159
  basisPoints: number;
31714
32160
  } | null;
31715
32161
  } | null;
@@ -31756,13 +32202,22 @@ export interface operations {
31756
32202
  }[];
31757
32203
  } | null;
31758
32204
  } | null;
31759
- issues: {
32205
+ issues: ({
31760
32206
  /** @constant */
31761
32207
  code: "line_unassignedAccount";
31762
32208
  /** @constant */
31763
32209
  severity: "error";
31764
32210
  context: Record<string, never>;
31765
- }[];
32211
+ } | {
32212
+ /** @constant */
32213
+ code: "bankAccountLast4Mismatch";
32214
+ /** @constant */
32215
+ severity: "warning";
32216
+ context: {
32217
+ accountLast4: string;
32218
+ transactionLast4: string;
32219
+ };
32220
+ })[];
31766
32221
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
31767
32222
  currency: string;
31768
32223
  /** @description Value in cents (100 = 1€) */
@@ -32126,7 +32581,10 @@ export interface operations {
32126
32581
  taxRate?: {
32127
32582
  id: string;
32128
32583
  name: string;
32129
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
32584
+ /**
32585
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
32586
+ * @example 100000
32587
+ */
32130
32588
  basisPoints: number;
32131
32589
  } | null;
32132
32590
  } | null;
@@ -32173,13 +32631,22 @@ export interface operations {
32173
32631
  }[];
32174
32632
  } | null;
32175
32633
  } | null;
32176
- issues: {
32634
+ issues: ({
32177
32635
  /** @constant */
32178
32636
  code: "line_unassignedAccount";
32179
32637
  /** @constant */
32180
32638
  severity: "error";
32181
32639
  context: Record<string, never>;
32182
- }[];
32640
+ } | {
32641
+ /** @constant */
32642
+ code: "bankAccountLast4Mismatch";
32643
+ /** @constant */
32644
+ severity: "warning";
32645
+ context: {
32646
+ accountLast4: string;
32647
+ transactionLast4: string;
32648
+ };
32649
+ })[];
32183
32650
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
32184
32651
  currency: string;
32185
32652
  /** @description Value in cents (100 = 1€) */
@@ -32558,7 +33025,10 @@ export interface operations {
32558
33025
  taxRate?: {
32559
33026
  id: string;
32560
33027
  name: string;
32561
- /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
33028
+ /**
33029
+ * @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%)
33030
+ * @example 100000
33031
+ */
32562
33032
  basisPoints: number;
32563
33033
  } | null;
32564
33034
  } | null;
@@ -32605,13 +33075,22 @@ export interface operations {
32605
33075
  }[];
32606
33076
  } | null;
32607
33077
  } | null;
32608
- issues: {
33078
+ issues: ({
32609
33079
  /** @constant */
32610
33080
  code: "line_unassignedAccount";
32611
33081
  /** @constant */
32612
33082
  severity: "error";
32613
33083
  context: Record<string, never>;
32614
- }[];
33084
+ } | {
33085
+ /** @constant */
33086
+ code: "bankAccountLast4Mismatch";
33087
+ /** @constant */
33088
+ severity: "warning";
33089
+ context: {
33090
+ accountLast4: string;
33091
+ transactionLast4: string;
33092
+ };
33093
+ })[];
32615
33094
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
32616
33095
  currency: string;
32617
33096
  /** @description Value in cents (100 = 1€) */
@@ -32759,4 +33238,116 @@ export interface operations {
32759
33238
  };
32760
33239
  };
32761
33240
  };
33241
+ "patchTransactions:transactionIdLines:idDescription": {
33242
+ parameters: {
33243
+ query?: never;
33244
+ header?: never;
33245
+ path: {
33246
+ transactionId: string;
33247
+ id: string;
33248
+ };
33249
+ cookie?: never;
33250
+ };
33251
+ requestBody?: {
33252
+ content: {
33253
+ "application/json": {
33254
+ description: string;
33255
+ };
33256
+ };
33257
+ };
33258
+ responses: {
33259
+ /** @description Successful response */
33260
+ 200: {
33261
+ headers: {
33262
+ [name: string]: unknown;
33263
+ };
33264
+ content: {
33265
+ "application/json": {
33266
+ id: string;
33267
+ description: string;
33268
+ };
33269
+ };
33270
+ };
33271
+ /** @description Bad request */
33272
+ 400: {
33273
+ headers: {
33274
+ [name: string]: unknown;
33275
+ };
33276
+ content: {
33277
+ "application/json": {
33278
+ code: string;
33279
+ message: string;
33280
+ issues?: {
33281
+ message: string;
33282
+ }[];
33283
+ context?: unknown;
33284
+ };
33285
+ };
33286
+ };
33287
+ /** @description Unauthorized */
33288
+ 401: {
33289
+ headers: {
33290
+ [name: string]: unknown;
33291
+ };
33292
+ content: {
33293
+ "application/json": {
33294
+ code: string;
33295
+ message: string;
33296
+ issues?: {
33297
+ message: string;
33298
+ }[];
33299
+ context?: unknown;
33300
+ };
33301
+ };
33302
+ };
33303
+ /** @description Forbidden */
33304
+ 403: {
33305
+ headers: {
33306
+ [name: string]: unknown;
33307
+ };
33308
+ content: {
33309
+ "application/json": {
33310
+ code: string;
33311
+ message: string;
33312
+ issues?: {
33313
+ message: string;
33314
+ }[];
33315
+ context?: unknown;
33316
+ };
33317
+ };
33318
+ };
33319
+ /** @description Not found */
33320
+ 404: {
33321
+ headers: {
33322
+ [name: string]: unknown;
33323
+ };
33324
+ content: {
33325
+ "application/json": {
33326
+ code: string;
33327
+ message: string;
33328
+ issues?: {
33329
+ message: string;
33330
+ }[];
33331
+ context?: unknown;
33332
+ };
33333
+ };
33334
+ };
33335
+ /** @description Internal server error */
33336
+ 500: {
33337
+ headers: {
33338
+ [name: string]: unknown;
33339
+ };
33340
+ content: {
33341
+ "application/json": {
33342
+ code: string;
33343
+ message: string;
33344
+ issues?: {
33345
+ message: string;
33346
+ }[];
33347
+ context?: unknown;
33348
+ };
33349
+ };
33350
+ };
33351
+ };
33352
+ };
32762
33353
  }