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