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