@vrplatform/api 2.0.0-experimental.0 → 2.0.0-experimental.1

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.
@@ -2411,6 +2411,22 @@ export interface components {
2411
2411
  } & {
2412
2412
  id: string;
2413
2413
  };
2414
+ BankAccountUpdateBody: {
2415
+ id?: string | null;
2416
+ /** @enum {string} */
2417
+ type?: "deposit" | "creditCard";
2418
+ /** @enum {string} */
2419
+ category?: "trust" | "operating" | "external";
2420
+ name?: string;
2421
+ uniqueRef?: string | null;
2422
+ sourceId?: string | null;
2423
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
2424
+ currency?: string | null;
2425
+ lastDigits?: string | null;
2426
+ /** @enum {string|null} */
2427
+ status?: "active" | "inactive" | null;
2428
+ accountId?: string | null;
2429
+ };
2414
2430
  BankRecord: {
2415
2431
  id: string;
2416
2432
  uniqueRef?: string | null;
@@ -2461,7 +2477,7 @@ export interface components {
2461
2477
  status: "active" | "inactive";
2462
2478
  /** @description Value in cents (100 = 1€) */
2463
2479
  amount: number;
2464
- account?: components["schemas"]["AccountLink"];
2480
+ account?: components["schemas"]["AccountLink"] | null;
2465
2481
  /**
2466
2482
  * Format: YYYY-MM-DD
2467
2483
  * @description Date in format YYYY-MM-DD
@@ -2471,11 +2487,11 @@ export interface components {
2471
2487
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
2472
2488
  currency: string;
2473
2489
  /** @enum {string} */
2474
- type: "deposit" | "expense" | "expense_recurringTemplate" | "transfer";
2475
- contact?: components["schemas"]["ContactLink"];
2476
- connection?: components["schemas"]["ConnectionLink"];
2490
+ type: "deposit" | "expense" | "transfer";
2491
+ contact?: components["schemas"]["ContactLink"] | null;
2492
+ connection?: components["schemas"]["ConnectionLink"] | null;
2477
2493
  uniqueRef?: string | null;
2478
- recurringTemplate?: components["schemas"]["RecurringTransactionTemplateLink"];
2494
+ recurringTemplate?: components["schemas"]["RecurringTransactionTemplateLink"] | null;
2479
2495
  dateOffset: number;
2480
2496
  };
2481
2497
  BankRecordPaginated: {
@@ -2572,7 +2588,9 @@ export interface components {
2572
2588
  endDate: string;
2573
2589
  description?: string | null;
2574
2590
  };
2575
- CalendarBlocks: components["schemas"]["CalendarBlock"][];
2591
+ CalendarBlocks: {
2592
+ data: components["schemas"]["CalendarBlock"][];
2593
+ };
2576
2594
  CalendarUser: {
2577
2595
  /** Format: email */
2578
2596
  email: string;
@@ -2656,16 +2674,18 @@ export interface components {
2656
2674
  }[];
2657
2675
  };
2658
2676
  ConnectionExtractResponses: {
2659
- runId: string;
2660
- workflowId: string;
2661
- taskId: string;
2662
- syncId: string;
2663
- data?: unknown;
2664
- error?: {
2665
- message: string;
2666
- error?: string;
2667
- };
2668
- }[];
2677
+ data: {
2678
+ runId: string;
2679
+ workflowId: string;
2680
+ taskId: string;
2681
+ syncId: string;
2682
+ data?: unknown;
2683
+ error?: {
2684
+ message: string;
2685
+ error?: string;
2686
+ };
2687
+ }[];
2688
+ };
2669
2689
  ConnectionLink: {
2670
2690
  id: string;
2671
2691
  name: string;
@@ -2718,7 +2738,7 @@ export interface components {
2718
2738
  };
2719
2739
  Contact: {
2720
2740
  id: string;
2721
- address?: components["schemas"]["Address"];
2741
+ address?: components["schemas"]["Address"] | null;
2722
2742
  /** @enum {string} */
2723
2743
  type: "owner" | "vendor";
2724
2744
  email?: string | null;
@@ -2730,7 +2750,7 @@ export interface components {
2730
2750
  companyType?: "c_corporation" | "limited_liability_company" | "partnership" | "s_corporation" | "trust_estate" | null;
2731
2751
  taxIdentifier?: string | null;
2732
2752
  uniqueRef?: string | null;
2733
- source?: components["schemas"]["SourceLink"];
2753
+ source?: components["schemas"]["SourceLink"] | null;
2734
2754
  ownershipPeriods: components["schemas"]["ContactListing"][];
2735
2755
  activeOwnerships: components["schemas"]["ContactListing"][];
2736
2756
  /** @enum {string} */
@@ -2743,7 +2763,7 @@ export interface components {
2743
2763
  };
2744
2764
  ContactBatchItem: {
2745
2765
  id?: string | null;
2746
- address?: components["schemas"]["Address"];
2766
+ address?: components["schemas"]["Address"] | null;
2747
2767
  /** @enum {string} */
2748
2768
  type: "owner" | "vendor";
2749
2769
  email?: string | null;
@@ -2761,7 +2781,7 @@ export interface components {
2761
2781
  payoutAccountId?: string | null;
2762
2782
  };
2763
2783
  ContactCreate: {
2764
- address?: components["schemas"]["Address"];
2784
+ address?: components["schemas"]["Address"] | null;
2765
2785
  /** @enum {string} */
2766
2786
  type: "owner" | "vendor";
2767
2787
  email?: string | null;
@@ -2818,7 +2838,7 @@ export interface components {
2818
2838
  deletedUsers: number;
2819
2839
  };
2820
2840
  ContactUpdateBody: {
2821
- address?: components["schemas"]["Address"];
2841
+ address?: components["schemas"]["Address"] | null;
2822
2842
  /** @enum {string} */
2823
2843
  type?: "owner" | "vendor";
2824
2844
  email?: string | null;
@@ -3077,6 +3097,11 @@ export interface components {
3077
3097
  external?: string;
3078
3098
  };
3079
3099
  };
3100
+ FlowSettingUpsertBody: {
3101
+ value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
3102
+ [key: string]: string | number | boolean | null;
3103
+ }) | null;
3104
+ };
3080
3105
  FlowSettingUpsertPayload: {
3081
3106
  id: string;
3082
3107
  connectionId: string;
@@ -3223,7 +3248,7 @@ export interface components {
3223
3248
  status: "active" | "inactive";
3224
3249
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
3225
3250
  defaultCurrency?: string | null;
3226
- address?: components["schemas"]["Address"];
3251
+ address?: components["schemas"]["Address"] | null;
3227
3252
  activeOwnership?: {
3228
3253
  id: string;
3229
3254
  /**
@@ -3240,7 +3265,7 @@ export interface components {
3240
3265
  setListingInactive?: boolean | null;
3241
3266
  /** @enum {string} */
3242
3267
  businessModel: "managed" | "co_host" | "co_host_airbnb";
3243
- lock?: components["schemas"]["Lock"];
3268
+ lock?: components["schemas"]["Lock"] | null;
3244
3269
  } | null;
3245
3270
  activeRecurringFeePeriods?: {
3246
3271
  id: string;
@@ -3254,10 +3279,11 @@ export interface components {
3254
3279
  * @description Date in format YYYY-MM-DD
3255
3280
  */
3256
3281
  endAt?: string | null;
3282
+ /** @description If flat fee, provide cent amount, if percentage fee provide basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
3257
3283
  rate?: number | null;
3258
- recurringFee: components["schemas"]["RecurringFeeLink"];
3284
+ recurringFee: components["schemas"]["RecurringFeeListingLink"];
3259
3285
  }[] | null;
3260
- source?: components["schemas"]["SourceLink"];
3286
+ source?: components["schemas"]["SourceLink"] | null;
3261
3287
  upcomingDeactivation: {
3262
3288
  /** @enum {string} */
3263
3289
  status: "active" | "disable-upcoming" | "disabled-ending" | "disabled-forever";
@@ -3279,7 +3305,7 @@ export interface components {
3279
3305
  sourceId?: string | null;
3280
3306
  /** @enum {string|null} */
3281
3307
  status?: "active" | "inactive" | null;
3282
- address?: components["schemas"]["Address"];
3308
+ address?: components["schemas"]["Address"] | null;
3283
3309
  };
3284
3310
  ListingCreate: {
3285
3311
  name?: string | null;
@@ -3289,7 +3315,7 @@ export interface components {
3289
3315
  status?: "active" | "inactive" | null;
3290
3316
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
3291
3317
  defaultCurrency?: string | null;
3292
- address?: components["schemas"]["Address"];
3318
+ address?: components["schemas"]["Address"] | null;
3293
3319
  sourceId?: string | null;
3294
3320
  } & {
3295
3321
  activeRecurringFeePeriods?: {
@@ -3304,8 +3330,9 @@ export interface components {
3304
3330
  * @description Date in format YYYY-MM-DD
3305
3331
  */
3306
3332
  endAt?: string | null;
3333
+ /** @description If flat fee, provide cent amount, if percentage fee provide basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
3307
3334
  rate?: number | null;
3308
- recurringFee: components["schemas"]["RecurringFeeLink"];
3335
+ recurringFee: components["schemas"]["RecurringFeeListingLink"];
3309
3336
  }[] | null;
3310
3337
  initialOwnership?: {
3311
3338
  /**
@@ -3366,7 +3393,7 @@ export interface components {
3366
3393
  setListingInactive?: boolean | null;
3367
3394
  /** @enum {string} */
3368
3395
  businessModel: "managed" | "co_host" | "co_host_airbnb";
3369
- lock?: components["schemas"]["Lock"];
3396
+ lock?: components["schemas"]["Lock"] | null;
3370
3397
  };
3371
3398
  ListingOwnershipMember: {
3372
3399
  contactId?: string | null;
@@ -3390,7 +3417,7 @@ export interface components {
3390
3417
  setListingInactive?: boolean | null;
3391
3418
  /** @enum {string} */
3392
3419
  businessModel: "managed" | "co_host" | "co_host_airbnb";
3393
- lock?: components["schemas"]["Lock"];
3420
+ lock?: components["schemas"]["Lock"] | null;
3394
3421
  };
3395
3422
  ListingOwnershipPeriodCreate: {
3396
3423
  listingId: string;
@@ -3446,7 +3473,7 @@ export interface components {
3446
3473
  status?: "active" | "inactive" | null;
3447
3474
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
3448
3475
  defaultCurrency?: string | null;
3449
- address?: components["schemas"]["Address"];
3476
+ address?: components["schemas"]["Address"] | null;
3450
3477
  sourceId?: string | null;
3451
3478
  } & {
3452
3479
  activeRecurringFeePeriods?: {
@@ -3461,8 +3488,9 @@ export interface components {
3461
3488
  * @description Date in format YYYY-MM-DD
3462
3489
  */
3463
3490
  endAt?: string | null;
3491
+ /** @description If flat fee, provide cent amount, if percentage fee provide basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
3464
3492
  rate?: number | null;
3465
- recurringFee: components["schemas"]["RecurringFeeLink"];
3493
+ recurringFee: components["schemas"]["RecurringFeeListingLink"];
3466
3494
  }[] | null;
3467
3495
  initialOwnership?: {
3468
3496
  /**
@@ -3655,6 +3683,9 @@ export interface components {
3655
3683
  rows: components["schemas"]["OwnerStatementRow"][];
3656
3684
  };
3657
3685
  OwnerStatementDetailArray: components["schemas"]["OwnerStatementDetail"][];
3686
+ OwnerStatementDetailArrayResponse: {
3687
+ data: components["schemas"]["OwnerStatementDetail"][];
3688
+ };
3658
3689
  OwnerStatementFinancials: {
3659
3690
  /** @description Value in cents (100 = 1€) */
3660
3691
  balanceStart: number;
@@ -3875,7 +3906,9 @@ export interface components {
3875
3906
  contactId: string;
3876
3907
  expIn: number;
3877
3908
  };
3878
- OwnerStatementPdfResponseArray: components["schemas"]["OwnerStatementPdfResponse"][];
3909
+ OwnerStatementPdfResponseArray: {
3910
+ data: components["schemas"]["OwnerStatementPdfResponse"][];
3911
+ };
3879
3912
  OwnerStatementRefreshLayoutInput: Record<string, never>;
3880
3913
  OwnerStatementRefreshLayoutResponse: {
3881
3914
  id: string;
@@ -4173,7 +4206,7 @@ export interface components {
4173
4206
  };
4174
4207
  PaymentLineClassification: {
4175
4208
  id?: string | null;
4176
- account?: components["schemas"]["ReservationLineMappingAccount"];
4209
+ account?: components["schemas"]["ReservationLineMappingAccount"] | null;
4177
4210
  status: "mapped" | "unmapped" | "excluded";
4178
4211
  /** @enum {string|null} */
4179
4212
  revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
@@ -4183,7 +4216,7 @@ export interface components {
4183
4216
  };
4184
4217
  PaymentLineClassificationChange: ({
4185
4218
  id?: string | null;
4186
- account?: components["schemas"]["ReservationLineMappingAccount"];
4219
+ account?: components["schemas"]["ReservationLineMappingAccount"] | null;
4187
4220
  status: "mapped" | "unmapped" | "excluded";
4188
4221
  /** @enum {string|null} */
4189
4222
  revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
@@ -4207,6 +4240,12 @@ export interface components {
4207
4240
  pagination: components["schemas"]["Pagination"];
4208
4241
  data: components["schemas"]["PaymentLineClassification"][];
4209
4242
  };
4243
+ PaymentLineClassificationUpdateBody: {
4244
+ accountId?: string | null;
4245
+ /** @enum {string|null} */
4246
+ revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
4247
+ channelMappings?: components["schemas"]["ReservationLineChannelMappingInput"][] | null;
4248
+ };
4210
4249
  PlaidAuthContext: {
4211
4250
  /** @constant */
4212
4251
  badge: "auth";
@@ -4424,12 +4463,10 @@ export interface components {
4424
4463
  };
4425
4464
  RecurringFeeLink: {
4426
4465
  id: string;
4466
+ uniqueRef: string;
4427
4467
  name: string;
4428
4468
  /** @enum {string} */
4429
4469
  type: "managementFee" | "additionalFee" | "bookingChannelFee" | "cleaningFee" | "merchantFee";
4430
- /** @enum {string|null} */
4431
- rateType?: "flat" | "percentage" | null;
4432
- defaultRate?: number | null;
4433
4470
  };
4434
4471
  RecurringFeeListingLink: {
4435
4472
  id: string;
@@ -4951,11 +4988,11 @@ export interface components {
4951
4988
  amount: number;
4952
4989
  inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system") | null;
4953
4990
  fee: number;
4954
- account?: components["schemas"]["ReservationFinancialAccountLink"];
4955
- recurringFee?: components["schemas"]["RecurringFeeLink"];
4956
- transaction?: components["schemas"]["TransactionLink"];
4957
- line?: components["schemas"]["ReservationFinancialLineReference"];
4958
- lock?: components["schemas"]["Lock"];
4991
+ account?: components["schemas"]["ReservationFinancialAccountLink"] | null;
4992
+ recurringFee?: components["schemas"]["RecurringFeeLink"] | null;
4993
+ transaction?: components["schemas"]["TransactionLink"] | null;
4994
+ line?: components["schemas"]["ReservationFinancialLineReference"] | null;
4995
+ lock?: components["schemas"]["Lock"] | null;
4959
4996
  };
4960
4997
  ReservationFinancialLineReference: {
4961
4998
  id: string;
@@ -4992,11 +5029,11 @@ export interface components {
4992
5029
  status: "active" | "inactive";
4993
5030
  amount: number;
4994
5031
  inactiveReason?: ("reservationCancelled" | "referenceAccount" | "deferredRevenue" | "system") | null;
4995
- account?: components["schemas"]["ReservationFinancialAccountLink"];
4996
- recurringFee?: components["schemas"]["RecurringFeeLink"];
4997
- transaction?: components["schemas"]["TransactionLink"];
4998
- line?: components["schemas"]["ReservationFinancialLineReference"];
4999
- lock?: components["schemas"]["Lock"];
5032
+ account?: components["schemas"]["ReservationFinancialAccountLink"] | null;
5033
+ recurringFee?: components["schemas"]["RecurringFeeLink"] | null;
5034
+ transaction?: components["schemas"]["TransactionLink"] | null;
5035
+ line?: components["schemas"]["ReservationFinancialLineReference"] | null;
5036
+ lock?: components["schemas"]["Lock"] | null;
5000
5037
  }[] | null;
5001
5038
  };
5002
5039
  ReservationInsert: {
@@ -5151,7 +5188,7 @@ export interface components {
5151
5188
  };
5152
5189
  ReservationLineChannelMapping: {
5153
5190
  id?: string | null;
5154
- account?: components["schemas"]["ReservationLineMappingAccount"];
5191
+ account?: components["schemas"]["ReservationLineMappingAccount"] | null;
5155
5192
  status: "mapped" | "unmapped" | "excluded";
5156
5193
  /** @enum {string|null} */
5157
5194
  revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
@@ -5670,14 +5707,16 @@ export interface components {
5670
5707
  message?: string | null;
5671
5708
  };
5672
5709
  SyncMetricsByStatusEntryList: {
5673
- /**
5674
- * Format: YYYY-MM-DD
5675
- * @description Date in format YYYY-MM-DD
5676
- */
5677
- date: string;
5678
- total: number;
5679
- changes: components["schemas"]["ChangeMetricsMap"];
5680
- }[];
5710
+ data: {
5711
+ /**
5712
+ * Format: YYYY-MM-DD
5713
+ * @description Date in format YYYY-MM-DD
5714
+ */
5715
+ date: string;
5716
+ total: number;
5717
+ changes: components["schemas"]["ChangeMetricsMap"];
5718
+ }[];
5719
+ };
5681
5720
  SyncMetricsByStatusInput: {
5682
5721
  /** @enum {string} */
5683
5722
  dimension?: "day" | "week" | "month" | "year";
@@ -5812,6 +5851,21 @@ export interface components {
5812
5851
  } & {
5813
5852
  id: string;
5814
5853
  };
5854
+ TaxRateUpdateBody: {
5855
+ name?: string;
5856
+ countryCode?: string | null;
5857
+ /** @description Currency in ISO 4217 format, will be converted to lowercase */
5858
+ currency?: string | null;
5859
+ /** @description Basis points between '0' and '100 000' ('100 000' => 100%, '1000' => 1%, '10' => 0.01%, '1' => 0.001%) */
5860
+ basisPoints?: number;
5861
+ /** @enum {string|null} */
5862
+ type?: "markup" | "tax" | null;
5863
+ uniqueRef?: string | null;
5864
+ /** @enum {string|null} */
5865
+ status?: "active" | "inactive" | null;
5866
+ accountId?: string | null;
5867
+ debitAccountId?: string | null;
5868
+ };
5815
5869
  Team: {
5816
5870
  id: string;
5817
5871
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
@@ -5820,13 +5874,13 @@ export interface components {
5820
5874
  /** @enum {string|null} */
5821
5875
  defaultRevenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
5822
5876
  name: string;
5823
- statementAddress?: components["schemas"]["Address"];
5824
- billingAddress?: components["schemas"]["Address"];
5877
+ statementAddress?: components["schemas"]["Address"] | null;
5878
+ billingAddress?: components["schemas"]["Address"] | null;
5825
5879
  phone?: string | null;
5826
5880
  email?: string | null;
5827
5881
  taxId?: string | null;
5828
- partner?: components["schemas"]["TeamPartner"];
5829
- billingPartner?: components["schemas"]["TeamPartner"];
5882
+ partner?: components["schemas"]["TeamPartner"] | null;
5883
+ billingPartner?: components["schemas"]["TeamPartner"] | null;
5830
5884
  companyName?: string | null;
5831
5885
  type: components["schemas"]["TeamType"];
5832
5886
  status: components["schemas"]["TeamStatus"];
@@ -5859,8 +5913,8 @@ export interface components {
5859
5913
  /** @enum {string|null} */
5860
5914
  defaultRevenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
5861
5915
  name: string;
5862
- statementAddress?: components["schemas"]["Address"];
5863
- billingAddress?: components["schemas"]["Address"];
5916
+ statementAddress?: components["schemas"]["Address"] | null;
5917
+ billingAddress?: components["schemas"]["Address"] | null;
5864
5918
  phone?: string | null;
5865
5919
  email?: string | null;
5866
5920
  taxId?: string | null;
@@ -5954,8 +6008,8 @@ export interface components {
5954
6008
  /** @enum {string|null} */
5955
6009
  defaultRevenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
5956
6010
  name?: string;
5957
- statementAddress?: components["schemas"]["Address"];
5958
- billingAddress?: components["schemas"]["Address"];
6011
+ statementAddress?: components["schemas"]["Address"] | null;
6012
+ billingAddress?: components["schemas"]["Address"] | null;
5959
6013
  phone?: string | null;
5960
6014
  email?: string | null;
5961
6015
  taxId?: string | null;
@@ -5977,6 +6031,8 @@ export interface components {
5977
6031
  * @description Date in format YYYY-MM-DD
5978
6032
  */
5979
6033
  statementStartAt?: string | null;
6034
+ partnerId?: string | null;
6035
+ billingPartnerId?: string | null;
5980
6036
  cancelation?: {
5981
6037
  effectiveAt: string | null;
5982
6038
  /** @enum {string} */
@@ -5987,15 +6043,14 @@ export interface components {
5987
6043
  status?: "active" | "inactive";
5988
6044
  };
5989
6045
  TeamUpdateBody: {
5990
- id?: string;
5991
6046
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
5992
6047
  defaultCurrency?: string | null;
5993
6048
  longTermStayNights?: number | null;
5994
6049
  /** @enum {string|null} */
5995
6050
  defaultRevenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
5996
6051
  name?: string;
5997
- statementAddress?: components["schemas"]["Address"];
5998
- billingAddress?: components["schemas"]["Address"];
6052
+ statementAddress?: components["schemas"]["Address"] | null;
6053
+ billingAddress?: components["schemas"]["Address"] | null;
5999
6054
  phone?: string | null;
6000
6055
  email?: string | null;
6001
6056
  taxId?: string | null;
@@ -6017,6 +6072,8 @@ export interface components {
6017
6072
  * @description Date in format YYYY-MM-DD
6018
6073
  */
6019
6074
  statementStartAt?: string | null;
6075
+ partnerId?: string | null;
6076
+ billingPartnerId?: string | null;
6020
6077
  cancelation?: {
6021
6078
  effectiveAt: string | null;
6022
6079
  /** @enum {string} */
@@ -6081,7 +6138,7 @@ export interface components {
6081
6138
  /** @enum {string|null} */
6082
6139
  status?: "active" | "inactive" | null;
6083
6140
  uniqueRef?: string | null;
6084
- type: "deposit" | "expense" | "expense_recurringTemplate" | "transfer";
6141
+ type: "deposit" | "expense" | "transfer";
6085
6142
  /**
6086
6143
  * Format: YYYY-MM-DD
6087
6144
  * @description Date in format YYYY-MM-DD
@@ -6093,7 +6150,7 @@ export interface components {
6093
6150
  } | null;
6094
6151
  } & {
6095
6152
  id: string;
6096
- lock?: components["schemas"]["Lock"];
6153
+ lock?: components["schemas"]["Lock"] | null;
6097
6154
  issues: components["schemas"]["TransactionIssue"][];
6098
6155
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
6099
6156
  currency: string;
@@ -6101,13 +6158,13 @@ export interface components {
6101
6158
  status: "active" | "inactive";
6102
6159
  /** @description Value in cents (100 = 1€) */
6103
6160
  amount: number;
6104
- recurringTemplate?: components["schemas"]["RecurringTransactionTemplateLink"];
6161
+ recurringTemplate?: components["schemas"]["RecurringTransactionTemplateLink"] | null;
6105
6162
  lines: components["schemas"]["TransactionLine"][];
6106
- account?: components["schemas"]["AccountLink"];
6163
+ account?: components["schemas"]["AccountLink"] | null;
6107
6164
  payment: components["schemas"]["TransactionPayment"];
6108
- connection?: components["schemas"]["ConnectionLink"];
6109
- contact?: components["schemas"]["ContactLink"];
6110
- source?: components["schemas"]["SourceLink"];
6165
+ connection?: components["schemas"]["ConnectionLink"] | null;
6166
+ contact?: components["schemas"]["ContactLink"] | null;
6167
+ source?: components["schemas"]["SourceLink"] | null;
6111
6168
  matchStatus?: string | null;
6112
6169
  };
6113
6170
  TransactionArrayResponse: {
@@ -6116,7 +6173,7 @@ export interface components {
6116
6173
  /** @enum {string|null} */
6117
6174
  status?: "active" | "inactive" | null;
6118
6175
  uniqueRef?: string | null;
6119
- type: "deposit" | "expense" | "expense_recurringTemplate" | "transfer";
6176
+ type: "deposit" | "expense" | "transfer";
6120
6177
  /**
6121
6178
  * Format: YYYY-MM-DD
6122
6179
  * @description Date in format YYYY-MM-DD
@@ -6128,7 +6185,7 @@ export interface components {
6128
6185
  } | null;
6129
6186
  } & {
6130
6187
  id: string;
6131
- lock?: components["schemas"]["Lock"];
6188
+ lock?: components["schemas"]["Lock"] | null;
6132
6189
  issues: components["schemas"]["TransactionIssue"][];
6133
6190
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
6134
6191
  currency: string;
@@ -6136,13 +6193,13 @@ export interface components {
6136
6193
  status: "active" | "inactive";
6137
6194
  /** @description Value in cents (100 = 1€) */
6138
6195
  amount: number;
6139
- recurringTemplate?: components["schemas"]["RecurringTransactionTemplateLink"];
6196
+ recurringTemplate?: components["schemas"]["RecurringTransactionTemplateLink"] | null;
6140
6197
  lines: components["schemas"]["TransactionLine"][];
6141
- account?: components["schemas"]["AccountLink"];
6198
+ account?: components["schemas"]["AccountLink"] | null;
6142
6199
  payment: components["schemas"]["TransactionPayment"];
6143
- connection?: components["schemas"]["ConnectionLink"];
6144
- contact?: components["schemas"]["ContactLink"];
6145
- source?: components["schemas"]["SourceLink"];
6200
+ connection?: components["schemas"]["ConnectionLink"] | null;
6201
+ contact?: components["schemas"]["ContactLink"] | null;
6202
+ source?: components["schemas"]["SourceLink"] | null;
6146
6203
  matchStatus?: string | null;
6147
6204
  })[];
6148
6205
  };
@@ -6155,7 +6212,7 @@ export interface components {
6155
6212
  accountId?: string | null;
6156
6213
  contactId?: string | null;
6157
6214
  uniqueRef?: string | null;
6158
- type: "deposit" | "expense" | "expense_recurringTemplate" | "transfer";
6215
+ type: "deposit" | "expense" | "transfer";
6159
6216
  /**
6160
6217
  * Format: YYYY-MM-DD
6161
6218
  * @description Date in format YYYY-MM-DD
@@ -6172,7 +6229,7 @@ export interface components {
6172
6229
  * @description Date in format YYYY-MM-DD
6173
6230
  */
6174
6231
  date?: string | null;
6175
- lock?: components["schemas"]["Lock"];
6232
+ lock?: components["schemas"]["Lock"] | null;
6176
6233
  } | null;
6177
6234
  sourceId?: string | null;
6178
6235
  recurringTemplateId?: string | null;
@@ -6191,7 +6248,7 @@ export interface components {
6191
6248
  contactId?: string | null;
6192
6249
  uniqueRef?: string | null;
6193
6250
  /** @enum {string} */
6194
- type: "deposit" | "expense" | "expense_recurringTemplate" | "transfer";
6251
+ type: "deposit" | "expense" | "transfer";
6195
6252
  /**
6196
6253
  * Format: YYYY-MM-DD
6197
6254
  * @description Date in format YYYY-MM-DD
@@ -6209,7 +6266,7 @@ export interface components {
6209
6266
  * @description Date in format YYYY-MM-DD
6210
6267
  */
6211
6268
  date?: string | null;
6212
- lock?: components["schemas"]["Lock"];
6269
+ lock?: components["schemas"]["Lock"] | null;
6213
6270
  } | null;
6214
6271
  connectionId?: string | null;
6215
6272
  sourceId?: string | null;
@@ -6241,15 +6298,15 @@ export interface components {
6241
6298
  /** @description Value in cents (100 = 1€) */
6242
6299
  amount: number;
6243
6300
  ownerStatementId?: string | null;
6244
- matchers?: components["schemas"]["TransactionLineMatcher"];
6301
+ matchers?: components["schemas"]["TransactionLineMatcher"] | null;
6245
6302
  } & {
6246
6303
  id: string;
6247
6304
  issues: components["schemas"]["TransactionLineIssue"][];
6248
- recurringTemplate?: components["schemas"]["RecurringTransactionTemplateLink"];
6305
+ recurringTemplate?: components["schemas"]["RecurringTransactionTemplateLink"] | null;
6249
6306
  /** @description Value in cents (100 = 1€) */
6250
6307
  amount: number;
6251
6308
  total: number;
6252
- listing?: components["schemas"]["ListingLink"];
6309
+ listing?: components["schemas"]["ListingLink"] | null;
6253
6310
  reservation?: {
6254
6311
  id: string;
6255
6312
  confirmationCode?: string | null;
@@ -6266,12 +6323,12 @@ export interface components {
6266
6323
  */
6267
6324
  checkOut?: string | null;
6268
6325
  } | null;
6269
- account?: components["schemas"]["AccountLink"];
6326
+ account?: components["schemas"]["AccountLink"] | null;
6270
6327
  /** @enum {string} */
6271
6328
  party: "owners" | "manager";
6272
- contact?: components["schemas"]["ContactLink"];
6329
+ contact?: components["schemas"]["ContactLink"] | null;
6273
6330
  matchStatus?: string | null;
6274
- markup?: components["schemas"]["TransactionLineMarkup"];
6331
+ markup?: components["schemas"]["TransactionLineMarkup"] | null;
6275
6332
  };
6276
6333
  TransactionLineInsert: {
6277
6334
  recurringTemplateId?: string | null;
@@ -6282,14 +6339,14 @@ export interface components {
6282
6339
  assignment?: "accountsPayable" | "accountsReceivable" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | null;
6283
6340
  /** @description Value in cents (100 = 1€) */
6284
6341
  amount: number;
6285
- markup?: components["schemas"]["TransactionLineMarkupInsert"];
6342
+ markup?: components["schemas"]["TransactionLineMarkupInsert"] | null;
6286
6343
  listingId?: string | null;
6287
6344
  reservationId?: string | null;
6288
6345
  ownerStatementId?: string | null;
6289
6346
  /** @enum {string|null} */
6290
6347
  party?: "owners" | "manager" | null;
6291
6348
  contactId?: string | null;
6292
- matchers?: components["schemas"]["TransactionLineMatcher"];
6349
+ matchers?: components["schemas"]["TransactionLineMatcher"] | null;
6293
6350
  };
6294
6351
  TransactionLineIssue: {
6295
6352
  /** @constant */
@@ -6319,7 +6376,7 @@ export interface components {
6319
6376
  /** @enum {string|null} */
6320
6377
  taxBehavior?: "excluded" | "included" | null;
6321
6378
  } & {
6322
- taxRate?: components["schemas"]["TaxRateLink"];
6379
+ taxRate?: components["schemas"]["TaxRateLink"] | null;
6323
6380
  };
6324
6381
  TransactionLineMarkupInsert: {
6325
6382
  /** @description Value in cents (100 = 1€) */
@@ -6342,14 +6399,14 @@ export interface components {
6342
6399
  assignment?: "accountsPayable" | "accountsReceivable" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | null;
6343
6400
  /** @description Value in cents (100 = 1€) */
6344
6401
  amount?: number;
6345
- markup?: components["schemas"]["TransactionLineMarkupInsert"];
6402
+ markup?: components["schemas"]["TransactionLineMarkupInsert"] | null;
6346
6403
  listingId?: string | null;
6347
6404
  reservationId?: string | null;
6348
6405
  ownerStatementId?: string | null;
6349
6406
  /** @enum {string|null} */
6350
6407
  party?: "owners" | "manager" | null;
6351
6408
  contactId?: string | null;
6352
- matchers?: components["schemas"]["TransactionLineMatcher"];
6409
+ matchers?: components["schemas"]["TransactionLineMatcher"] | null;
6353
6410
  } & {
6354
6411
  id?: string;
6355
6412
  };
@@ -6362,14 +6419,14 @@ export interface components {
6362
6419
  assignment?: "accountsPayable" | "accountsReceivable" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | null;
6363
6420
  /** @description Value in cents (100 = 1€) */
6364
6421
  amount?: number;
6365
- markup?: components["schemas"]["TransactionLineMarkupInsert"];
6422
+ markup?: components["schemas"]["TransactionLineMarkupInsert"] | null;
6366
6423
  listingId?: string | null;
6367
6424
  reservationId?: string | null;
6368
6425
  ownerStatementId?: string | null;
6369
6426
  /** @enum {string|null} */
6370
6427
  party?: "owners" | "manager" | null;
6371
6428
  contactId?: string | null;
6372
- matchers?: components["schemas"]["TransactionLineMatcher"];
6429
+ matchers?: components["schemas"]["TransactionLineMatcher"] | null;
6373
6430
  };
6374
6431
  TransactionLink: {
6375
6432
  id: string;
@@ -6377,7 +6434,7 @@ export interface components {
6377
6434
  status: "active" | "inactive";
6378
6435
  /** @description Value in cents (100 = 1€) */
6379
6436
  amount: number;
6380
- account?: components["schemas"]["AccountLink"];
6437
+ account?: components["schemas"]["AccountLink"] | null;
6381
6438
  /**
6382
6439
  * Format: YYYY-MM-DD
6383
6440
  * @description Date in format YYYY-MM-DD
@@ -6387,18 +6444,18 @@ export interface components {
6387
6444
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
6388
6445
  currency: string;
6389
6446
  /** @enum {string} */
6390
- type: "deposit" | "expense" | "expense_recurringTemplate" | "transfer";
6391
- contact?: components["schemas"]["ContactLink"];
6392
- connection?: components["schemas"]["ConnectionLink"];
6447
+ type: "deposit" | "expense" | "transfer";
6448
+ contact?: components["schemas"]["ContactLink"] | null;
6449
+ connection?: components["schemas"]["ConnectionLink"] | null;
6393
6450
  uniqueRef?: string | null;
6394
- recurringTemplate?: components["schemas"]["RecurringTransactionTemplateLink"];
6451
+ recurringTemplate?: components["schemas"]["RecurringTransactionTemplateLink"] | null;
6395
6452
  };
6396
6453
  TransactionList: ({
6397
6454
  description: string;
6398
6455
  /** @enum {string|null} */
6399
6456
  status?: "active" | "inactive" | null;
6400
6457
  uniqueRef?: string | null;
6401
- type: "deposit" | "expense" | "expense_recurringTemplate" | "transfer";
6458
+ type: "deposit" | "expense" | "transfer";
6402
6459
  /**
6403
6460
  * Format: YYYY-MM-DD
6404
6461
  * @description Date in format YYYY-MM-DD
@@ -6410,7 +6467,7 @@ export interface components {
6410
6467
  } | null;
6411
6468
  } & {
6412
6469
  id: string;
6413
- lock?: components["schemas"]["Lock"];
6470
+ lock?: components["schemas"]["Lock"] | null;
6414
6471
  issues: components["schemas"]["TransactionIssue"][];
6415
6472
  /** @description Currency in ISO 4217 format, will be converted to lowercase */
6416
6473
  currency: string;
@@ -6418,16 +6475,16 @@ export interface components {
6418
6475
  status: "active" | "inactive";
6419
6476
  /** @description Value in cents (100 = 1€) */
6420
6477
  amount: number;
6421
- recurringTemplate?: components["schemas"]["RecurringTransactionTemplateLink"];
6422
- account?: components["schemas"]["AccountLink"];
6478
+ recurringTemplate?: components["schemas"]["RecurringTransactionTemplateLink"] | null;
6479
+ account?: components["schemas"]["AccountLink"] | null;
6423
6480
  payment: components["schemas"]["TransactionPayment"];
6424
- connection?: components["schemas"]["ConnectionLink"];
6425
- contact?: components["schemas"]["ContactLink"];
6426
- source?: components["schemas"]["SourceLink"];
6481
+ connection?: components["schemas"]["ConnectionLink"] | null;
6482
+ contact?: components["schemas"]["ContactLink"] | null;
6483
+ source?: components["schemas"]["SourceLink"] | null;
6427
6484
  matchStatus?: string | null;
6428
- }) & (Record<string, never> & {
6485
+ }) & {
6429
6486
  lines?: components["schemas"]["TransactionLine"][];
6430
- });
6487
+ };
6431
6488
  TransactionListPaginated: {
6432
6489
  pagination: components["schemas"]["Pagination"];
6433
6490
  data: components["schemas"]["TransactionList"][];
@@ -6435,7 +6492,7 @@ export interface components {
6435
6492
  TransactionPayment: {
6436
6493
  bankRecordIds: string[];
6437
6494
  status: "unpaid" | "underpaid" | "overpaid" | "paid";
6438
- lock?: components["schemas"]["Lock"];
6495
+ lock?: components["schemas"]["Lock"] | null;
6439
6496
  } & {
6440
6497
  /**
6441
6498
  * Format: YYYY-MM-DD
@@ -6450,7 +6507,7 @@ export interface components {
6450
6507
  accountId?: string | null;
6451
6508
  contactId?: string | null;
6452
6509
  uniqueRef?: string | null;
6453
- type?: "deposit" | "expense" | "expense_recurringTemplate" | "transfer";
6510
+ type?: "deposit" | "expense" | "transfer";
6454
6511
  /**
6455
6512
  * Format: YYYY-MM-DD
6456
6513
  * @description Date in format YYYY-MM-DD
@@ -6466,7 +6523,7 @@ export interface components {
6466
6523
  * @description Date in format YYYY-MM-DD
6467
6524
  */
6468
6525
  date?: string | null;
6469
- lock?: components["schemas"]["Lock"];
6526
+ lock?: components["schemas"]["Lock"] | null;
6470
6527
  } | null;
6471
6528
  connectionId?: string | null;
6472
6529
  sourceId?: string | null;
@@ -7291,9 +7348,9 @@ export interface operations {
7291
7348
  };
7292
7349
  requestBody: {
7293
7350
  content: {
7294
- "application/json": components["schemas"]["BankAccountUpdate"];
7295
- "application/x-www-form-urlencoded": components["schemas"]["BankAccountUpdate"];
7296
- "multipart/form-data": components["schemas"]["BankAccountUpdate"];
7351
+ "application/json": components["schemas"]["BankAccountUpdateBody"];
7352
+ "application/x-www-form-urlencoded": components["schemas"]["BankAccountUpdateBody"];
7353
+ "multipart/form-data": components["schemas"]["BankAccountUpdateBody"];
7297
7354
  };
7298
7355
  };
7299
7356
  responses: {
@@ -10279,9 +10336,9 @@ export interface operations {
10279
10336
  };
10280
10337
  requestBody: {
10281
10338
  content: {
10282
- "application/json": components["schemas"]["FlowSettingUpsertPayload"];
10283
- "application/x-www-form-urlencoded": components["schemas"]["FlowSettingUpsertPayload"];
10284
- "multipart/form-data": components["schemas"]["FlowSettingUpsertPayload"];
10339
+ "application/json": components["schemas"]["FlowSettingUpsertBody"];
10340
+ "application/x-www-form-urlencoded": components["schemas"]["FlowSettingUpsertBody"];
10341
+ "multipart/form-data": components["schemas"]["FlowSettingUpsertBody"];
10285
10342
  };
10286
10343
  };
10287
10344
  responses: {
@@ -12029,9 +12086,9 @@ export interface operations {
12029
12086
  };
12030
12087
  requestBody: {
12031
12088
  content: {
12032
- "application/json": components["schemas"]["TaxRateUpdate"];
12033
- "application/x-www-form-urlencoded": components["schemas"]["TaxRateUpdate"];
12034
- "multipart/form-data": components["schemas"]["TaxRateUpdate"];
12089
+ "application/json": components["schemas"]["TaxRateUpdateBody"];
12090
+ "application/x-www-form-urlencoded": components["schemas"]["TaxRateUpdateBody"];
12091
+ "multipart/form-data": components["schemas"]["TaxRateUpdateBody"];
12035
12092
  };
12036
12093
  };
12037
12094
  responses: {
@@ -15519,9 +15576,9 @@ export interface operations {
15519
15576
  };
15520
15577
  requestBody: {
15521
15578
  content: {
15522
- "application/json": components["schemas"]["PaymentLineClassificationInput"];
15523
- "application/x-www-form-urlencoded": components["schemas"]["PaymentLineClassificationInput"];
15524
- "multipart/form-data": components["schemas"]["PaymentLineClassificationInput"];
15579
+ "application/json": components["schemas"]["PaymentLineClassificationUpdateBody"];
15580
+ "application/x-www-form-urlencoded": components["schemas"]["PaymentLineClassificationUpdateBody"];
15581
+ "multipart/form-data": components["schemas"]["PaymentLineClassificationUpdateBody"];
15525
15582
  };
15526
15583
  };
15527
15584
  responses: {
@@ -16255,7 +16312,7 @@ export interface operations {
16255
16312
  [name: string]: unknown;
16256
16313
  };
16257
16314
  content: {
16258
- "application/json": components["schemas"]["OwnerStatementDetailArray"];
16315
+ "application/json": components["schemas"]["OwnerStatementDetailArrayResponse"];
16259
16316
  };
16260
16317
  };
16261
16318
  /** @description Response for status 400 */
@@ -18863,7 +18920,7 @@ export interface operations {
18863
18920
  query?: {
18864
18921
  limit?: number;
18865
18922
  page?: number;
18866
- type?: "deposit" | "expense" | "expense_recurringTemplate" | "transfer";
18923
+ type?: "deposit" | "expense" | "transfer";
18867
18924
  status?: "active" | "inactive";
18868
18925
  includeLines?: boolean;
18869
18926
  accountId?: string;