@vrplatform/api 1.3.1-2444 → 1.3.1-2454

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.
@@ -2926,35 +2926,17 @@ export interface paths {
2926
2926
  patch?: never;
2927
2927
  trace?: never;
2928
2928
  };
2929
- "/teams/opening-balances/credit-card": {
2929
+ "/teams/opening-balances/operating": {
2930
2930
  parameters: {
2931
2931
  query?: never;
2932
2932
  header?: never;
2933
2933
  path?: never;
2934
2934
  cookie?: never;
2935
2935
  };
2936
- /** @description Retrieve opening balance operating credit card summary */
2937
- get: operations["getTeamsOpeningBalancesCreditCard"];
2938
- /** @description Update opening balance operating credit card */
2939
- put: operations["putTeamsOpeningBalancesCreditCard"];
2940
- post?: never;
2941
- delete?: never;
2942
- options?: never;
2943
- head?: never;
2944
- patch?: never;
2945
- trace?: never;
2946
- };
2947
- "/teams/opening-balances/other": {
2948
- parameters: {
2949
- query?: never;
2950
- header?: never;
2951
- path?: never;
2952
- cookie?: never;
2953
- };
2954
- /** @description Retrieve opening balance operating other summary */
2955
- get: operations["getTeamsOpeningBalancesOther"];
2956
- /** @description Update opening balance operating other */
2957
- put: operations["putTeamsOpeningBalancesOther"];
2936
+ /** @description Retrieve operating opening trial balance */
2937
+ get: operations["getTeamsOpeningBalancesOperating"];
2938
+ /** @description Update operating opening trial balance */
2939
+ put: operations["putTeamsOpeningBalancesOperating"];
2958
2940
  post?: never;
2959
2941
  delete?: never;
2960
2942
  options?: never;
@@ -22508,7 +22490,7 @@ export interface operations {
22508
22490
  };
22509
22491
  lines: {
22510
22492
  name: string;
22511
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | null;
22493
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | null;
22512
22494
  party?: ("owners" | "manager") | null;
22513
22495
  /** @enum {string} */
22514
22496
  status: "active" | "inactive";
@@ -23965,7 +23947,7 @@ export interface operations {
23965
23947
  /** @description comma separated trigger types "deferredRevenue" | "intercompany" | "rebalance" | "recurringFee" | "revenueRecognition" */
23966
23948
  triggerTypes?: string;
23967
23949
  party?: "owners" | "manager";
23968
- openingBalanceType?: "taxPayable" | "advancedDeposit" | "listingOpeningBalance";
23950
+ openingBalanceType?: "taxPayable" | "advancedDeposit" | "listingOpeningBalance" | "openingTrialBalance";
23969
23951
  ledger?: "trust" | "operating";
23970
23952
  includeDetails?: boolean;
23971
23953
  limit?: number;
@@ -24066,8 +24048,7 @@ export interface operations {
24066
24048
  txnAt: string;
24067
24049
  description: string;
24068
24050
  centTotal: number;
24069
- /** @enum {string} */
24070
- type?: "reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment";
24051
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | "opening_trial_balance";
24071
24052
  reservationId?: string;
24072
24053
  transactionId?: string;
24073
24054
  ownerStatementId?: string;
@@ -24239,7 +24220,7 @@ export interface operations {
24239
24220
  /** @description comma separated trigger types "deferredRevenue" | "intercompany" | "rebalance" | "recurringFee" | "revenueRecognition" */
24240
24221
  triggerTypes?: string;
24241
24222
  party?: "owners" | "manager";
24242
- openingBalanceType?: "taxPayable" | "advancedDeposit" | "listingOpeningBalance";
24223
+ openingBalanceType?: "taxPayable" | "advancedDeposit" | "listingOpeningBalance" | "openingTrialBalance";
24243
24224
  ledger?: "trust" | "operating";
24244
24225
  };
24245
24226
  header?: never;
@@ -24881,7 +24862,7 @@ export interface operations {
24881
24862
  bookingChannels?: string;
24882
24863
  /** @description comma separated trigger types "deferredRevenue" | "intercompany" | "rebalance" | "recurringFee" | "revenueRecognition" */
24883
24864
  triggerTypes?: string;
24884
- openingBalanceType?: "taxPayable" | "advancedDeposit" | "listingOpeningBalance";
24865
+ openingBalanceType?: "taxPayable" | "advancedDeposit" | "listingOpeningBalance" | "openingTrialBalance";
24885
24866
  includeDetails?: boolean;
24886
24867
  limit?: number;
24887
24868
  page?: number;
@@ -24981,8 +24962,7 @@ export interface operations {
24981
24962
  txnAt: string;
24982
24963
  description: string;
24983
24964
  centTotal: number;
24984
- /** @enum {string} */
24985
- type?: "reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment";
24965
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | "opening_trial_balance";
24986
24966
  reservationId?: string;
24987
24967
  transactionId?: string;
24988
24968
  ownerStatementId?: string;
@@ -25151,7 +25131,7 @@ export interface operations {
25151
25131
  bookingChannels?: string;
25152
25132
  /** @description comma separated trigger types "deferredRevenue" | "intercompany" | "rebalance" | "recurringFee" | "revenueRecognition" */
25153
25133
  triggerTypes?: string;
25154
- openingBalanceType?: "taxPayable" | "advancedDeposit" | "listingOpeningBalance";
25134
+ openingBalanceType?: "taxPayable" | "advancedDeposit" | "listingOpeningBalance" | "openingTrialBalance";
25155
25135
  };
25156
25136
  header?: never;
25157
25137
  path?: never;
@@ -27325,7 +27305,7 @@ export interface operations {
27325
27305
  bookingChannel?: string;
27326
27306
  amount?: number;
27327
27307
  businessModel?: "managed" | "co_host" | "co_host_airbnb";
27328
- /** @description Filter by reservation line type (paymentLine.effectiveType), only when not excluded */
27308
+ /** @description Filter by reservation line type or adjustment type (paymentLine.effectiveType), only when not excluded */
27329
27309
  lineType?: string;
27330
27310
  /** @description When true, include nested line items in each returned reservation. */
27331
27311
  includeLines?: boolean;
@@ -27840,7 +27820,7 @@ export interface operations {
27840
27820
  };
27841
27821
  lines?: {
27842
27822
  name: string;
27843
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | null;
27823
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | null;
27844
27824
  party?: ("owners" | "manager") | null;
27845
27825
  /** @enum {string} */
27846
27826
  status: "active" | "inactive";
@@ -28321,7 +28301,7 @@ export interface operations {
28321
28301
  bookingChannel?: string;
28322
28302
  amount?: number;
28323
28303
  businessModel?: "managed" | "co_host" | "co_host_airbnb";
28324
- /** @description Filter by reservation line type (paymentLine.effectiveType), only when not excluded */
28304
+ /** @description Filter by reservation line type or adjustment type (paymentLine.effectiveType), only when not excluded */
28325
28305
  lineType?: string;
28326
28306
  /** @description When true, include nested line items in each returned reservation. */
28327
28307
  includeLines?: boolean;
@@ -29236,7 +29216,7 @@ export interface operations {
29236
29216
  };
29237
29217
  lines?: {
29238
29218
  name: string;
29239
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | null;
29219
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | null;
29240
29220
  party?: ("owners" | "manager") | null;
29241
29221
  /** @enum {string} */
29242
29222
  status: "active" | "inactive";
@@ -29810,7 +29790,7 @@ export interface operations {
29810
29790
  };
29811
29791
  lines?: {
29812
29792
  name: string;
29813
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | null;
29793
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | null;
29814
29794
  party?: ("owners" | "manager") | null;
29815
29795
  /** @enum {string} */
29816
29796
  status: "active" | "inactive";
@@ -30500,7 +30480,7 @@ export interface operations {
30500
30480
  };
30501
30481
  lines?: {
30502
30482
  name: string;
30503
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | null;
30483
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | null;
30504
30484
  party?: ("owners" | "manager") | null;
30505
30485
  /** @enum {string} */
30506
30486
  status: "active" | "inactive";
@@ -30964,7 +30944,7 @@ export interface operations {
30964
30944
  };
30965
30945
  lines?: {
30966
30946
  name: string;
30967
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | null;
30947
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | null;
30968
30948
  party?: ("owners" | "manager") | null;
30969
30949
  /** @enum {string} */
30970
30950
  status: "active" | "inactive";
@@ -31414,7 +31394,7 @@ export interface operations {
31414
31394
  };
31415
31395
  lines?: {
31416
31396
  name: string;
31417
- type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment") | null;
31397
+ type?: ("reservation" | "reservation_adjustment" | "reservation_adjustment_cancellation" | "reservation_fee" | "reservation_fee_adjustment" | "reservation_fee_tax" | "transaction_payout" | "transaction_payout_line" | "transaction_transfer" | "transaction_transfer_line" | "reservation_line" | "transaction_deposit" | "transaction_deposit_channelFee" | "transaction_deposit_line" | "transaction_deposit_coHost" | "transaction_deposit_merchantFee" | "transaction_deposit_vat" | "transaction_deposit_reserve" | "transaction_deposit_openingBalance" | "transaction_deposit_openingAdvance" | "transaction_deposit_refund" | "transaction_expense" | "transaction_expense_line" | "transaction_expense_markup" | "transaction_expense_markup_tax" | "transaction_expense_payment" | "opening_trial_balance") | null;
31418
31398
  party?: ("owners" | "manager") | null;
31419
31399
  /** @enum {string} */
31420
31400
  status: "active" | "inactive";
@@ -40585,7 +40565,7 @@ export interface operations {
40585
40565
  };
40586
40566
  };
40587
40567
  };
40588
- getTeamsOpeningBalancesCreditCard: {
40568
+ getTeamsOpeningBalancesOperating: {
40589
40569
  parameters: {
40590
40570
  query?: never;
40591
40571
  header?: never;
@@ -40601,17 +40581,29 @@ export interface operations {
40601
40581
  };
40602
40582
  content: {
40603
40583
  "application/json": {
40604
- /** @description Value in cents (100 = 1€) */
40605
- amount: number;
40606
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
40607
- currency: string;
40608
- updatedAt?: string | null;
40609
- transactionId?: string | null;
40610
- account?: {
40584
+ glStartAt: string;
40585
+ openingDate: string;
40586
+ locked: boolean;
40587
+ lockReasons: string[];
40588
+ accounts: {
40611
40589
  /** Format: uuid */
40612
- id: string;
40590
+ accountId: string;
40613
40591
  name: string;
40614
- } | null;
40592
+ /** @enum {string} */
40593
+ classification: "asset" | "liability" | "revenue" | "expense";
40594
+ /** @enum {string} */
40595
+ type: "ledger" | "bank";
40596
+ /** @description Value in cents (100 = 1€) */
40597
+ centTotal: number;
40598
+ updatedAt?: string | null;
40599
+ }[];
40600
+ assignment: {
40601
+ /** Format: uuid */
40602
+ accountId: string;
40603
+ name: string;
40604
+ /** @description Value in cents (100 = 1€) */
40605
+ centTotal: number;
40606
+ };
40615
40607
  };
40616
40608
  };
40617
40609
  };
@@ -40697,7 +40689,7 @@ export interface operations {
40697
40689
  };
40698
40690
  };
40699
40691
  };
40700
- putTeamsOpeningBalancesCreditCard: {
40692
+ putTeamsOpeningBalancesOperating: {
40701
40693
  parameters: {
40702
40694
  query?: never;
40703
40695
  header?: never;
@@ -40707,125 +40699,15 @@ export interface operations {
40707
40699
  requestBody?: {
40708
40700
  content: {
40709
40701
  "application/json": {
40710
- accountId?: string | null;
40711
- /** @description Value in cents (100 = 1€) */
40712
- amount: number;
40713
- currency?: string | null;
40714
- };
40715
- };
40716
- };
40717
- responses: {
40718
- /** @description Successful response */
40719
- 200: {
40720
- headers: {
40721
- [name: string]: unknown;
40722
- };
40723
- content: {
40724
- "application/json": {
40702
+ accounts: {
40703
+ /** Format: uuid */
40704
+ accountId: string;
40725
40705
  /** @description Value in cents (100 = 1€) */
40726
- amount: number;
40727
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
40728
- currency: string;
40729
- updatedAt?: string | null;
40730
- transactionId?: string | null;
40731
- account?: {
40732
- /** Format: uuid */
40733
- id: string;
40734
- name: string;
40735
- } | null;
40736
- };
40737
- };
40738
- };
40739
- /** @description Bad request */
40740
- 400: {
40741
- headers: {
40742
- [name: string]: unknown;
40743
- };
40744
- content: {
40745
- "application/json": {
40746
- code: string;
40747
- message: string;
40748
- issues?: {
40749
- message: string;
40750
- }[];
40751
- context?: unknown;
40752
- };
40753
- };
40754
- };
40755
- /** @description Unauthorized */
40756
- 401: {
40757
- headers: {
40758
- [name: string]: unknown;
40759
- };
40760
- content: {
40761
- "application/json": {
40762
- code: string;
40763
- message: string;
40764
- issues?: {
40765
- message: string;
40766
- }[];
40767
- context?: unknown;
40768
- };
40769
- };
40770
- };
40771
- /** @description Forbidden */
40772
- 403: {
40773
- headers: {
40774
- [name: string]: unknown;
40775
- };
40776
- content: {
40777
- "application/json": {
40778
- code: string;
40779
- message: string;
40780
- issues?: {
40781
- message: string;
40782
- }[];
40783
- context?: unknown;
40784
- };
40785
- };
40786
- };
40787
- /** @description Not found */
40788
- 404: {
40789
- headers: {
40790
- [name: string]: unknown;
40791
- };
40792
- content: {
40793
- "application/json": {
40794
- code: string;
40795
- message: string;
40796
- issues?: {
40797
- message: string;
40798
- }[];
40799
- context?: unknown;
40800
- };
40801
- };
40802
- };
40803
- /** @description Internal server error */
40804
- 500: {
40805
- headers: {
40806
- [name: string]: unknown;
40807
- };
40808
- content: {
40809
- "application/json": {
40810
- code: string;
40811
- message: string;
40812
- issues?: {
40813
- message: string;
40814
- }[];
40815
- context?: unknown;
40816
- };
40706
+ centTotal: number;
40707
+ }[];
40817
40708
  };
40818
40709
  };
40819
40710
  };
40820
- };
40821
- getTeamsOpeningBalancesOther: {
40822
- parameters: {
40823
- query?: never;
40824
- header?: never;
40825
- path?: never;
40826
- cookie?: never;
40827
- };
40828
- requestBody?: never;
40829
40711
  responses: {
40830
40712
  /** @description Successful response */
40831
40713
  200: {
@@ -40834,138 +40716,29 @@ export interface operations {
40834
40716
  };
40835
40717
  content: {
40836
40718
  "application/json": {
40837
- /** @description Value in cents (100 = 1€) */
40838
- amount: number;
40839
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
40840
- currency: string;
40841
- updatedAt?: string | null;
40842
- transactionId?: string | null;
40843
- account?: {
40719
+ glStartAt: string;
40720
+ openingDate: string;
40721
+ locked: boolean;
40722
+ lockReasons: string[];
40723
+ accounts: {
40844
40724
  /** Format: uuid */
40845
- id: string;
40725
+ accountId: string;
40846
40726
  name: string;
40847
- } | null;
40848
- };
40849
- };
40850
- };
40851
- /** @description Bad request */
40852
- 400: {
40853
- headers: {
40854
- [name: string]: unknown;
40855
- };
40856
- content: {
40857
- "application/json": {
40858
- code: string;
40859
- message: string;
40860
- issues?: {
40861
- message: string;
40862
- }[];
40863
- context?: unknown;
40864
- };
40865
- };
40866
- };
40867
- /** @description Unauthorized */
40868
- 401: {
40869
- headers: {
40870
- [name: string]: unknown;
40871
- };
40872
- content: {
40873
- "application/json": {
40874
- code: string;
40875
- message: string;
40876
- issues?: {
40877
- message: string;
40878
- }[];
40879
- context?: unknown;
40880
- };
40881
- };
40882
- };
40883
- /** @description Forbidden */
40884
- 403: {
40885
- headers: {
40886
- [name: string]: unknown;
40887
- };
40888
- content: {
40889
- "application/json": {
40890
- code: string;
40891
- message: string;
40892
- issues?: {
40893
- message: string;
40894
- }[];
40895
- context?: unknown;
40896
- };
40897
- };
40898
- };
40899
- /** @description Not found */
40900
- 404: {
40901
- headers: {
40902
- [name: string]: unknown;
40903
- };
40904
- content: {
40905
- "application/json": {
40906
- code: string;
40907
- message: string;
40908
- issues?: {
40909
- message: string;
40910
- }[];
40911
- context?: unknown;
40912
- };
40913
- };
40914
- };
40915
- /** @description Internal server error */
40916
- 500: {
40917
- headers: {
40918
- [name: string]: unknown;
40919
- };
40920
- content: {
40921
- "application/json": {
40922
- code: string;
40923
- message: string;
40924
- issues?: {
40925
- message: string;
40727
+ /** @enum {string} */
40728
+ classification: "asset" | "liability" | "revenue" | "expense";
40729
+ /** @enum {string} */
40730
+ type: "ledger" | "bank";
40731
+ /** @description Value in cents (100 = 1€) */
40732
+ centTotal: number;
40733
+ updatedAt?: string | null;
40926
40734
  }[];
40927
- context?: unknown;
40928
- };
40929
- };
40930
- };
40931
- };
40932
- };
40933
- putTeamsOpeningBalancesOther: {
40934
- parameters: {
40935
- query?: never;
40936
- header?: never;
40937
- path?: never;
40938
- cookie?: never;
40939
- };
40940
- requestBody?: {
40941
- content: {
40942
- "application/json": {
40943
- accountId?: string | null;
40944
- /** @description Value in cents (100 = 1€) */
40945
- amount: number;
40946
- currency?: string | null;
40947
- };
40948
- };
40949
- };
40950
- responses: {
40951
- /** @description Successful response */
40952
- 200: {
40953
- headers: {
40954
- [name: string]: unknown;
40955
- };
40956
- content: {
40957
- "application/json": {
40958
- /** @description Value in cents (100 = 1€) */
40959
- amount: number;
40960
- /** @description Currency in ISO 4217 format, will be converted to lowercase */
40961
- currency: string;
40962
- updatedAt?: string | null;
40963
- transactionId?: string | null;
40964
- account?: {
40735
+ assignment: {
40965
40736
  /** Format: uuid */
40966
- id: string;
40737
+ accountId: string;
40967
40738
  name: string;
40968
- } | null;
40739
+ /** @description Value in cents (100 = 1€) */
40740
+ centTotal: number;
40741
+ };
40969
40742
  };
40970
40743
  };
40971
40744
  };
@@ -43208,6 +42981,8 @@ export interface operations {
43208
42981
  amount?: string;
43209
42982
  /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
43210
42983
  paidAtRange?: string;
42984
+ /** @description Controls how dateRange and paidAtRange are applied. all applies both filters together, and or matches transaction date OR paid date. */
42985
+ dateRangeCondition?: "all" | "or";
43211
42986
  /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
43212
42987
  dateRange?: string;
43213
42988
  /** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
@@ -43220,8 +42995,8 @@ export interface operations {
43220
42995
  recurringTemplateId?: string;
43221
42996
  paidStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
43222
42997
  matchedByBankRule?: boolean;
43223
- /** @description Filter transactions by reconciled state. True only returns reconciled transactions. */
43224
- reconciled?: boolean;
42998
+ /** @description Filter transactions by reconciled state. True only returns reconciled transactions. Candidate returns unreconciled match candidates for accountId. */
42999
+ reconciled?: boolean | "candidate";
43225
43000
  contactId?: string;
43226
43001
  listingIds?: string;
43227
43002
  limit?: number;
@@ -44310,6 +44085,8 @@ export interface operations {
44310
44085
  amount?: string;
44311
44086
  /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
44312
44087
  paidAtRange?: string;
44088
+ /** @description Controls how dateRange and paidAtRange are applied. all applies both filters together, and or matches transaction date OR paid date. */
44089
+ dateRangeCondition?: "all" | "or";
44313
44090
  /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
44314
44091
  dateRange?: string;
44315
44092
  /** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
@@ -44322,8 +44099,8 @@ export interface operations {
44322
44099
  recurringTemplateId?: string;
44323
44100
  paidStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
44324
44101
  matchedByBankRule?: boolean;
44325
- /** @description Filter transactions by reconciled state. True only returns reconciled transactions. */
44326
- reconciled?: boolean;
44102
+ /** @description Filter transactions by reconciled state. True only returns reconciled transactions. Candidate returns unreconciled match candidates for accountId. */
44103
+ reconciled?: boolean | "candidate";
44327
44104
  contactId?: string;
44328
44105
  listingIds?: string;
44329
44106
  };
@@ -44443,6 +44220,8 @@ export interface operations {
44443
44220
  amount?: string;
44444
44221
  /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
44445
44222
  paidAtRange?: string;
44223
+ /** @description Controls how dateRange and paidAtRange are applied. all applies both filters together, and or matches transaction date OR paid date. */
44224
+ dateRangeCondition?: "all" | "or";
44446
44225
  /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
44447
44226
  dateRange?: string;
44448
44227
  /** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
@@ -44455,8 +44234,8 @@ export interface operations {
44455
44234
  recurringTemplateId?: string;
44456
44235
  paidStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
44457
44236
  matchedByBankRule?: boolean;
44458
- /** @description Filter transactions by reconciled state. True only returns reconciled transactions. */
44459
- reconciled?: boolean;
44237
+ /** @description Filter transactions by reconciled state. True only returns reconciled transactions. Candidate returns unreconciled match candidates for accountId. */
44238
+ reconciled?: boolean | "candidate";
44460
44239
  contactId?: string;
44461
44240
  listingIds?: string;
44462
44241
  };
@@ -44576,6 +44355,8 @@ export interface operations {
44576
44355
  amount?: string;
44577
44356
  /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
44578
44357
  paidAtRange?: string;
44358
+ /** @description Controls how dateRange and paidAtRange are applied. all applies both filters together, and or matches transaction date OR paid date. */
44359
+ dateRangeCondition?: "all" | "or";
44579
44360
  /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
44580
44361
  dateRange?: string;
44581
44362
  /** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
@@ -44588,8 +44369,8 @@ export interface operations {
44588
44369
  recurringTemplateId?: string;
44589
44370
  paidStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
44590
44371
  matchedByBankRule?: boolean;
44591
- /** @description Filter transactions by reconciled state. True only returns reconciled transactions. */
44592
- reconciled?: boolean;
44372
+ /** @description Filter transactions by reconciled state. True only returns reconciled transactions. Candidate returns unreconciled match candidates for accountId. */
44373
+ reconciled?: boolean | "candidate";
44593
44374
  contactId?: string;
44594
44375
  listingIds?: string;
44595
44376
  };
@@ -45051,6 +44832,8 @@ export interface operations {
45051
44832
  amount?: string;
45052
44833
  /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
45053
44834
  paidAtRange?: string;
44835
+ /** @description Controls how dateRange and paidAtRange are applied. all applies both filters together, and or matches transaction date OR paid date. */
44836
+ dateRangeCondition?: "all" | "or";
45054
44837
  /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
45055
44838
  dateRange?: string;
45056
44839
  /** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
@@ -45063,8 +44846,8 @@ export interface operations {
45063
44846
  recurringTemplateId?: string;
45064
44847
  paidStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
45065
44848
  matchedByBankRule?: boolean;
45066
- /** @description Filter transactions by reconciled state. True only returns reconciled transactions. */
45067
- reconciled?: boolean;
44849
+ /** @description Filter transactions by reconciled state. True only returns reconciled transactions. Candidate returns unreconciled match candidates for accountId. */
44850
+ reconciled?: boolean | "candidate";
45068
44851
  contactId?: string;
45069
44852
  listingIds?: string;
45070
44853
  };
@@ -46908,6 +46691,8 @@ export interface operations {
46908
46691
  amount?: string;
46909
46692
  /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
46910
46693
  paidAtRange?: string;
46694
+ /** @description Controls how dateRange and paidAtRange are applied. all applies both filters together, and or matches transaction date OR paid date. */
46695
+ dateRangeCondition?: "all" | "or";
46911
46696
  /** @description Date range string. Accepted syntax: `YYYY`, `YYYY-MM`, `YYYY-MM-DD`, or range `YYYY-MM-DD...YYYY-MM-DD`. Single values expand to the full year, month, or day. */
46912
46697
  dateRange?: string;
46913
46698
  /** @description Whether the end date in `dateRange` or `paidAtRange` is treated as inclusive (`true`) or exclusive (`false`). */
@@ -46920,8 +46705,8 @@ export interface operations {
46920
46705
  recurringTemplateId?: string;
46921
46706
  paidStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
46922
46707
  matchedByBankRule?: boolean;
46923
- /** @description Filter transactions by reconciled state. True only returns reconciled transactions. */
46924
- reconciled?: boolean;
46708
+ /** @description Filter transactions by reconciled state. True only returns reconciled transactions. Candidate returns unreconciled match candidates for accountId. */
46709
+ reconciled?: boolean | "candidate";
46925
46710
  contactId?: string;
46926
46711
  listingIds?: string;
46927
46712
  };