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