@vrplatform/api 1.2.33-stage.691 → 1.2.33-stage.693

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.
@@ -1018,23 +1018,6 @@ export interface paths {
1018
1018
  patch?: never;
1019
1019
  trace?: never;
1020
1020
  };
1021
- "/accounts/{id}/reprocess-balances": {
1022
- parameters: {
1023
- query?: never;
1024
- header?: never;
1025
- path?: never;
1026
- cookie?: never;
1027
- };
1028
- get?: never;
1029
- /** @description Reprocess account balances */
1030
- put: operations["reprocessAccountBalances"];
1031
- post?: never;
1032
- delete?: never;
1033
- options?: never;
1034
- head?: never;
1035
- patch?: never;
1036
- trace?: never;
1037
- };
1038
1021
  "/accounts/{id}": {
1039
1022
  parameters: {
1040
1023
  query?: never;
@@ -3543,16 +3526,16 @@ export interface operations {
3543
3526
  requestBody: {
3544
3527
  content: {
3545
3528
  "application/json": {
3546
- /** @enum {string|null} */
3547
- revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3548
3529
  /** Format: uuid */
3549
3530
  accountId?: string | null;
3531
+ /** @enum {string|null} */
3532
+ revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3550
3533
  channelMappings?: {
3551
- /** @enum {string|null} */
3552
- revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3553
3534
  bookingChannel: string;
3554
3535
  /** Format: uuid */
3555
3536
  accountId?: string | null;
3537
+ /** @enum {string|null} */
3538
+ revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3556
3539
  }[] | null;
3557
3540
  };
3558
3541
  };
@@ -3565,12 +3548,12 @@ export interface operations {
3565
3548
  };
3566
3549
  content: {
3567
3550
  "application/json": {
3551
+ /** Format: uuid */
3568
3552
  id?: string | null;
3569
3553
  account?: {
3554
+ /** Format: uuid */
3570
3555
  id: string;
3571
3556
  name: string;
3572
- /** @enum {string|null} */
3573
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
3574
3557
  } | null;
3575
3558
  /** @enum {string} */
3576
3559
  status: "mapped" | "unmapped" | "excluded";
@@ -3578,12 +3561,12 @@ export interface operations {
3578
3561
  revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3579
3562
  type: string;
3580
3563
  channelMappings: {
3564
+ /** Format: uuid */
3581
3565
  id?: string | null;
3582
3566
  account?: {
3567
+ /** Format: uuid */
3583
3568
  id: string;
3584
3569
  name: string;
3585
- /** @enum {string|null} */
3586
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
3587
3570
  } | null;
3588
3571
  /** @enum {string} */
3589
3572
  status: "mapped" | "unmapped" | "excluded";
@@ -3671,12 +3654,12 @@ export interface operations {
3671
3654
  content: {
3672
3655
  "application/json": {
3673
3656
  data: {
3657
+ /** Format: uuid */
3674
3658
  id?: string | null;
3675
3659
  account?: {
3660
+ /** Format: uuid */
3676
3661
  id: string;
3677
3662
  name: string;
3678
- /** @enum {string|null} */
3679
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
3680
3663
  } | null;
3681
3664
  /** @enum {string} */
3682
3665
  status: "mapped" | "unmapped" | "excluded";
@@ -3684,12 +3667,12 @@ export interface operations {
3684
3667
  revenueRecognition?: "checkIn" | "checkOut" | "bookedAt" | "proRata" | null;
3685
3668
  type: string;
3686
3669
  channelMappings: {
3670
+ /** Format: uuid */
3687
3671
  id?: string | null;
3688
3672
  account?: {
3673
+ /** Format: uuid */
3689
3674
  id: string;
3690
3675
  name: string;
3691
- /** @enum {string|null} */
3692
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
3693
3676
  } | null;
3694
3677
  /** @enum {string} */
3695
3678
  status: "mapped" | "unmapped" | "excluded";
@@ -15445,9 +15428,44 @@ export interface operations {
15445
15428
  };
15446
15429
  content: {
15447
15430
  "application/json": {
15448
- description: string;
15431
+ id: string;
15432
+ /** @enum {string} */
15433
+ status: "active" | "inactive";
15449
15434
  uniqueRef: string;
15435
+ description: string;
15450
15436
  date: string;
15437
+ currency: string;
15438
+ amount: number;
15439
+ pattern: {
15440
+ /** @enum {string} */
15441
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
15442
+ interval?: number | null;
15443
+ weekDays?: number[] | null;
15444
+ monthDays?: number[] | null;
15445
+ months?: number[] | null;
15446
+ count?: number | null;
15447
+ endDate?: string | null;
15448
+ };
15449
+ /** @enum {string} */
15450
+ paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
15451
+ patternFormatted?: string | null;
15452
+ nextTransactionInstanceAt?: string | null;
15453
+ instancesCount: number;
15454
+ account?: {
15455
+ id: string;
15456
+ name: string;
15457
+ bankAccount?: {
15458
+ /** Format: uuid */
15459
+ id?: string | null;
15460
+ name: string;
15461
+ } | null;
15462
+ } | null;
15463
+ contact?: {
15464
+ /** Format: uuid */
15465
+ id: string;
15466
+ name?: string | null;
15467
+ uniqueRef?: string | null;
15468
+ } | null;
15451
15469
  lines: {
15452
15470
  uniqueRef?: string | null;
15453
15471
  description: string;
@@ -15492,8 +15510,6 @@ export interface operations {
15492
15510
  account?: {
15493
15511
  id: string;
15494
15512
  name: string;
15495
- /** @enum {string|null} */
15496
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
15497
15513
  } | null;
15498
15514
  /** @enum {string} */
15499
15515
  party: "owners" | "manager";
@@ -15520,11 +15536,6 @@ export interface operations {
15520
15536
  } | null;
15521
15537
  } | null;
15522
15538
  }[];
15523
- /** Format: uuid */
15524
- recurringTemplateId?: string | null;
15525
- /** @enum {string} */
15526
- status: "active" | "inactive";
15527
- id: string;
15528
15539
  issues: ({
15529
15540
  /** @enum {string} */
15530
15541
  code: "missingInstances";
@@ -15542,41 +15553,6 @@ export interface operations {
15542
15553
  ids: string[];
15543
15554
  };
15544
15555
  })[];
15545
- currency: string;
15546
- /** @description Value in cents (100 = 1€) */
15547
- amount: number;
15548
- account?: {
15549
- id: string;
15550
- name: string;
15551
- /** @enum {string|null} */
15552
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
15553
- bankAccount?: {
15554
- /** Format: uuid */
15555
- id?: string | null;
15556
- name: string;
15557
- } | null;
15558
- } | null;
15559
- contact?: {
15560
- /** Format: uuid */
15561
- id: string;
15562
- name?: string | null;
15563
- uniqueRef?: string | null;
15564
- } | null;
15565
- pattern: {
15566
- /** @enum {string} */
15567
- frequency: "daily" | "weekly" | "monthly" | "yearly";
15568
- interval?: number | null;
15569
- weekDays?: number[] | null;
15570
- monthDays?: number[] | null;
15571
- months?: number[] | null;
15572
- count?: number | null;
15573
- endDate?: string | null;
15574
- };
15575
- /** @enum {string} */
15576
- paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
15577
- nextTransactionInstanceAt?: string | null;
15578
- patternFormatted?: string | null;
15579
- instancesCount: number;
15580
15556
  };
15581
15557
  };
15582
15558
  };
@@ -15641,47 +15617,12 @@ export interface operations {
15641
15617
  requestBody: {
15642
15618
  content: {
15643
15619
  "application/json": {
15644
- description?: string;
15645
- accountId?: string | null;
15646
- contactId?: string | null;
15647
15620
  uniqueRef?: string;
15621
+ description?: string;
15648
15622
  date?: string;
15649
15623
  currency?: string | null;
15650
- lines?: {
15651
- recurringTemplateId?: string | null;
15652
- uniqueRef?: string | null;
15653
- description: string;
15654
- accountId?: string | null;
15655
- /** @enum {string|null} */
15656
- assignment?: "accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer" | null;
15657
- /** @description Value in cents (100 = 1€) */
15658
- amount: number;
15659
- markup?: {
15660
- /** @description Value in cents (100 = 1€) */
15661
- amount?: number | null;
15662
- /** Format: uuid */
15663
- taxRateId?: string | null;
15664
- /**
15665
- * @default excluded
15666
- * @enum {string|null}
15667
- */
15668
- taxBehavior?: "excluded" | "included" | null;
15669
- } | null;
15670
- listingId?: string | null;
15671
- reservationId?: string | null;
15672
- /** Format: uuid */
15673
- ownerStatementId?: string | null;
15674
- /** @enum {string|null} */
15675
- party?: "owners" | "manager" | null;
15676
- contactId?: string | null;
15677
- matchers?: {
15678
- confirmationCode?: string | null;
15679
- customerId?: string | null;
15680
- lineType?: string | null;
15681
- } | null;
15682
- }[];
15683
- /** @enum {string|null} */
15684
- status?: "active" | "inactive" | null;
15624
+ accountId?: string | null;
15625
+ contactId?: string | null;
15685
15626
  pattern?: {
15686
15627
  /** @enum {string} */
15687
15628
  frequency: "daily" | "weekly" | "monthly" | "yearly";
@@ -15694,6 +15635,17 @@ export interface operations {
15694
15635
  };
15695
15636
  /** @enum {string} */
15696
15637
  paymentStatus?: "unpaid" | "underpaid" | "overpaid" | "paid";
15638
+ lines?: {
15639
+ description: string;
15640
+ accountId?: string | null;
15641
+ amount: number;
15642
+ listingId?: string | null;
15643
+ party?: string | null;
15644
+ contactId?: string | null;
15645
+ }[];
15646
+ skipInitialInstance?: boolean;
15647
+ /** @enum {string|null} */
15648
+ status?: "active" | "inactive" | null;
15697
15649
  };
15698
15650
  };
15699
15651
  };
@@ -15705,9 +15657,44 @@ export interface operations {
15705
15657
  };
15706
15658
  content: {
15707
15659
  "application/json": {
15708
- description: string;
15660
+ id: string;
15661
+ /** @enum {string} */
15662
+ status: "active" | "inactive";
15709
15663
  uniqueRef: string;
15664
+ description: string;
15710
15665
  date: string;
15666
+ currency: string;
15667
+ amount: number;
15668
+ pattern: {
15669
+ /** @enum {string} */
15670
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
15671
+ interval?: number | null;
15672
+ weekDays?: number[] | null;
15673
+ monthDays?: number[] | null;
15674
+ months?: number[] | null;
15675
+ count?: number | null;
15676
+ endDate?: string | null;
15677
+ };
15678
+ /** @enum {string} */
15679
+ paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
15680
+ patternFormatted?: string | null;
15681
+ nextTransactionInstanceAt?: string | null;
15682
+ instancesCount: number;
15683
+ account?: {
15684
+ id: string;
15685
+ name: string;
15686
+ bankAccount?: {
15687
+ /** Format: uuid */
15688
+ id?: string | null;
15689
+ name: string;
15690
+ } | null;
15691
+ } | null;
15692
+ contact?: {
15693
+ /** Format: uuid */
15694
+ id: string;
15695
+ name?: string | null;
15696
+ uniqueRef?: string | null;
15697
+ } | null;
15711
15698
  lines: {
15712
15699
  uniqueRef?: string | null;
15713
15700
  description: string;
@@ -15752,8 +15739,6 @@ export interface operations {
15752
15739
  account?: {
15753
15740
  id: string;
15754
15741
  name: string;
15755
- /** @enum {string|null} */
15756
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
15757
15742
  } | null;
15758
15743
  /** @enum {string} */
15759
15744
  party: "owners" | "manager";
@@ -15780,11 +15765,6 @@ export interface operations {
15780
15765
  } | null;
15781
15766
  } | null;
15782
15767
  }[];
15783
- /** Format: uuid */
15784
- recurringTemplateId?: string | null;
15785
- /** @enum {string} */
15786
- status: "active" | "inactive";
15787
- id: string;
15788
15768
  issues: ({
15789
15769
  /** @enum {string} */
15790
15770
  code: "missingInstances";
@@ -15802,41 +15782,6 @@ export interface operations {
15802
15782
  ids: string[];
15803
15783
  };
15804
15784
  })[];
15805
- currency: string;
15806
- /** @description Value in cents (100 = 1€) */
15807
- amount: number;
15808
- account?: {
15809
- id: string;
15810
- name: string;
15811
- /** @enum {string|null} */
15812
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
15813
- bankAccount?: {
15814
- /** Format: uuid */
15815
- id?: string | null;
15816
- name: string;
15817
- } | null;
15818
- } | null;
15819
- contact?: {
15820
- /** Format: uuid */
15821
- id: string;
15822
- name?: string | null;
15823
- uniqueRef?: string | null;
15824
- } | null;
15825
- pattern: {
15826
- /** @enum {string} */
15827
- frequency: "daily" | "weekly" | "monthly" | "yearly";
15828
- interval?: number | null;
15829
- weekDays?: number[] | null;
15830
- monthDays?: number[] | null;
15831
- months?: number[] | null;
15832
- count?: number | null;
15833
- endDate?: string | null;
15834
- };
15835
- /** @enum {string} */
15836
- paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
15837
- nextTransactionInstanceAt?: string | null;
15838
- patternFormatted?: string | null;
15839
- instancesCount: number;
15840
15785
  };
15841
15786
  };
15842
15787
  };
@@ -15985,14 +15930,49 @@ export interface operations {
15985
15930
  content: {
15986
15931
  "application/json": {
15987
15932
  data: {
15988
- description: string;
15933
+ id: string;
15934
+ /** @enum {string} */
15935
+ status: "active" | "inactive";
15989
15936
  uniqueRef: string;
15937
+ description: string;
15990
15938
  date: string;
15991
- lines: {
15992
- uniqueRef?: string | null;
15993
- description: string;
15994
- /** @description Value in cents (100 = 1€) */
15995
- amount: number;
15939
+ currency: string;
15940
+ amount: number;
15941
+ pattern: {
15942
+ /** @enum {string} */
15943
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
15944
+ interval?: number | null;
15945
+ weekDays?: number[] | null;
15946
+ monthDays?: number[] | null;
15947
+ months?: number[] | null;
15948
+ count?: number | null;
15949
+ endDate?: string | null;
15950
+ };
15951
+ /** @enum {string} */
15952
+ paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
15953
+ patternFormatted?: string | null;
15954
+ nextTransactionInstanceAt?: string | null;
15955
+ instancesCount: number;
15956
+ account?: {
15957
+ id: string;
15958
+ name: string;
15959
+ bankAccount?: {
15960
+ /** Format: uuid */
15961
+ id?: string | null;
15962
+ name: string;
15963
+ } | null;
15964
+ } | null;
15965
+ contact?: {
15966
+ /** Format: uuid */
15967
+ id: string;
15968
+ name?: string | null;
15969
+ uniqueRef?: string | null;
15970
+ } | null;
15971
+ lines: {
15972
+ uniqueRef?: string | null;
15973
+ description: string;
15974
+ /** @description Value in cents (100 = 1€) */
15975
+ amount: number;
15996
15976
  /** Format: uuid */
15997
15977
  ownerStatementId?: string | null;
15998
15978
  matchers?: {
@@ -16032,8 +16012,6 @@ export interface operations {
16032
16012
  account?: {
16033
16013
  id: string;
16034
16014
  name: string;
16035
- /** @enum {string|null} */
16036
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
16037
16015
  } | null;
16038
16016
  /** @enum {string} */
16039
16017
  party: "owners" | "manager";
@@ -16060,11 +16038,6 @@ export interface operations {
16060
16038
  } | null;
16061
16039
  } | null;
16062
16040
  }[];
16063
- /** Format: uuid */
16064
- recurringTemplateId?: string | null;
16065
- /** @enum {string} */
16066
- status: "active" | "inactive";
16067
- id: string;
16068
16041
  issues: ({
16069
16042
  /** @enum {string} */
16070
16043
  code: "missingInstances";
@@ -16082,41 +16055,6 @@ export interface operations {
16082
16055
  ids: string[];
16083
16056
  };
16084
16057
  })[];
16085
- currency: string;
16086
- /** @description Value in cents (100 = 1€) */
16087
- amount: number;
16088
- account?: {
16089
- id: string;
16090
- name: string;
16091
- /** @enum {string|null} */
16092
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
16093
- bankAccount?: {
16094
- /** Format: uuid */
16095
- id?: string | null;
16096
- name: string;
16097
- } | null;
16098
- } | null;
16099
- contact?: {
16100
- /** Format: uuid */
16101
- id: string;
16102
- name?: string | null;
16103
- uniqueRef?: string | null;
16104
- } | null;
16105
- pattern: {
16106
- /** @enum {string} */
16107
- frequency: "daily" | "weekly" | "monthly" | "yearly";
16108
- interval?: number | null;
16109
- weekDays?: number[] | null;
16110
- monthDays?: number[] | null;
16111
- months?: number[] | null;
16112
- count?: number | null;
16113
- endDate?: string | null;
16114
- };
16115
- /** @enum {string} */
16116
- paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
16117
- nextTransactionInstanceAt?: string | null;
16118
- patternFormatted?: string | null;
16119
- instancesCount: number;
16120
16058
  }[];
16121
16059
  pagination: {
16122
16060
  /** @default 100 */
@@ -16189,47 +16127,12 @@ export interface operations {
16189
16127
  requestBody: {
16190
16128
  content: {
16191
16129
  "application/json": {
16192
- description: string;
16193
- accountId?: string | null;
16194
- contactId?: string | null;
16195
16130
  uniqueRef: string;
16131
+ description: string;
16196
16132
  date: string;
16197
16133
  currency?: string | null;
16198
- lines: {
16199
- recurringTemplateId?: string | null;
16200
- uniqueRef?: string | null;
16201
- description: string;
16202
- accountId?: string | null;
16203
- /** @enum {string|null} */
16204
- assignment?: "accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer" | null;
16205
- /** @description Value in cents (100 = 1€) */
16206
- amount: number;
16207
- markup?: {
16208
- /** @description Value in cents (100 = 1€) */
16209
- amount?: number | null;
16210
- /** Format: uuid */
16211
- taxRateId?: string | null;
16212
- /**
16213
- * @default excluded
16214
- * @enum {string|null}
16215
- */
16216
- taxBehavior?: "excluded" | "included" | null;
16217
- } | null;
16218
- listingId?: string | null;
16219
- reservationId?: string | null;
16220
- /** Format: uuid */
16221
- ownerStatementId?: string | null;
16222
- /** @enum {string|null} */
16223
- party?: "owners" | "manager" | null;
16224
- contactId?: string | null;
16225
- matchers?: {
16226
- confirmationCode?: string | null;
16227
- customerId?: string | null;
16228
- lineType?: string | null;
16229
- } | null;
16230
- }[];
16231
- /** @enum {string|null} */
16232
- status?: "active" | "inactive" | null;
16134
+ accountId?: string | null;
16135
+ contactId?: string | null;
16233
16136
  pattern: {
16234
16137
  /** @enum {string} */
16235
16138
  frequency: "daily" | "weekly" | "monthly" | "yearly";
@@ -16242,6 +16145,15 @@ export interface operations {
16242
16145
  };
16243
16146
  /** @enum {string} */
16244
16147
  paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
16148
+ lines: {
16149
+ description: string;
16150
+ accountId?: string | null;
16151
+ amount: number;
16152
+ listingId?: string | null;
16153
+ party?: string | null;
16154
+ contactId?: string | null;
16155
+ }[];
16156
+ skipInitialInstance?: boolean;
16245
16157
  };
16246
16158
  };
16247
16159
  };
@@ -16253,9 +16165,44 @@ export interface operations {
16253
16165
  };
16254
16166
  content: {
16255
16167
  "application/json": {
16256
- description: string;
16168
+ id: string;
16169
+ /** @enum {string} */
16170
+ status: "active" | "inactive";
16257
16171
  uniqueRef: string;
16172
+ description: string;
16258
16173
  date: string;
16174
+ currency: string;
16175
+ amount: number;
16176
+ pattern: {
16177
+ /** @enum {string} */
16178
+ frequency: "daily" | "weekly" | "monthly" | "yearly";
16179
+ interval?: number | null;
16180
+ weekDays?: number[] | null;
16181
+ monthDays?: number[] | null;
16182
+ months?: number[] | null;
16183
+ count?: number | null;
16184
+ endDate?: string | null;
16185
+ };
16186
+ /** @enum {string} */
16187
+ paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
16188
+ patternFormatted?: string | null;
16189
+ nextTransactionInstanceAt?: string | null;
16190
+ instancesCount: number;
16191
+ account?: {
16192
+ id: string;
16193
+ name: string;
16194
+ bankAccount?: {
16195
+ /** Format: uuid */
16196
+ id?: string | null;
16197
+ name: string;
16198
+ } | null;
16199
+ } | null;
16200
+ contact?: {
16201
+ /** Format: uuid */
16202
+ id: string;
16203
+ name?: string | null;
16204
+ uniqueRef?: string | null;
16205
+ } | null;
16259
16206
  lines: {
16260
16207
  uniqueRef?: string | null;
16261
16208
  description: string;
@@ -16300,8 +16247,6 @@ export interface operations {
16300
16247
  account?: {
16301
16248
  id: string;
16302
16249
  name: string;
16303
- /** @enum {string|null} */
16304
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
16305
16250
  } | null;
16306
16251
  /** @enum {string} */
16307
16252
  party: "owners" | "manager";
@@ -16328,11 +16273,6 @@ export interface operations {
16328
16273
  } | null;
16329
16274
  } | null;
16330
16275
  }[];
16331
- /** Format: uuid */
16332
- recurringTemplateId?: string | null;
16333
- /** @enum {string} */
16334
- status: "active" | "inactive";
16335
- id: string;
16336
16276
  issues: ({
16337
16277
  /** @enum {string} */
16338
16278
  code: "missingInstances";
@@ -16350,41 +16290,6 @@ export interface operations {
16350
16290
  ids: string[];
16351
16291
  };
16352
16292
  })[];
16353
- currency: string;
16354
- /** @description Value in cents (100 = 1€) */
16355
- amount: number;
16356
- account?: {
16357
- id: string;
16358
- name: string;
16359
- /** @enum {string|null} */
16360
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
16361
- bankAccount?: {
16362
- /** Format: uuid */
16363
- id?: string | null;
16364
- name: string;
16365
- } | null;
16366
- } | null;
16367
- contact?: {
16368
- /** Format: uuid */
16369
- id: string;
16370
- name?: string | null;
16371
- uniqueRef?: string | null;
16372
- } | null;
16373
- pattern: {
16374
- /** @enum {string} */
16375
- frequency: "daily" | "weekly" | "monthly" | "yearly";
16376
- interval?: number | null;
16377
- weekDays?: number[] | null;
16378
- monthDays?: number[] | null;
16379
- months?: number[] | null;
16380
- count?: number | null;
16381
- endDate?: string | null;
16382
- };
16383
- /** @enum {string} */
16384
- paymentStatus: "unpaid" | "underpaid" | "overpaid" | "paid";
16385
- nextTransactionInstanceAt?: string | null;
16386
- patternFormatted?: string | null;
16387
- instancesCount: number;
16388
16293
  };
16389
16294
  };
16390
16295
  };
@@ -18832,137 +18737,6 @@ export interface operations {
18832
18737
  };
18833
18738
  };
18834
18739
  };
18835
- reprocessAccountBalances: {
18836
- parameters: {
18837
- query?: never;
18838
- header?: {
18839
- "X-Team-Id"?: string;
18840
- };
18841
- path: {
18842
- id: string;
18843
- };
18844
- cookie?: never;
18845
- };
18846
- requestBody?: never;
18847
- responses: {
18848
- /** @description Successful response */
18849
- 200: {
18850
- headers: {
18851
- [name: string]: unknown;
18852
- };
18853
- content: {
18854
- "application/json": {
18855
- name: string;
18856
- /** @enum {string|null} */
18857
- status?: "active" | "inactive" | null;
18858
- /** @enum {string} */
18859
- type: "ledger" | "bank" | "recurringFee" | "nonPosting";
18860
- id: string;
18861
- offsetAccount?: {
18862
- id: string;
18863
- name: string;
18864
- /** @enum {string|null} */
18865
- type?: "ledger" | "bank" | "recurringFee" | "nonPosting" | null;
18866
- } | null;
18867
- assignments: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "transfer_ownerPayout" | "transfer")[];
18868
- category?: {
18869
- id: string;
18870
- name: string;
18871
- /** @enum {string|null} */
18872
- classification?: "asset" | "liability" | "revenue" | "expense" | null;
18873
- } | null;
18874
- banking?: {
18875
- /** @enum {string|null} */
18876
- category?: "trust" | "operating" | "external" | null;
18877
- /** @enum {string|null} */
18878
- type?: "deposit" | "creditCard" | null;
18879
- last4?: string | null;
18880
- connections: {
18881
- id: string;
18882
- name: string;
18883
- connection?: {
18884
- id: string;
18885
- icon?: string | null;
18886
- } | null;
18887
- /** @enum {string|null} */
18888
- status?: "active" | "inactive" | null;
18889
- currentSync?: {
18890
- /** @enum {string} */
18891
- status: "queued" | "started" | "completed" | "failed" | "canceled";
18892
- createdAt: string;
18893
- updatedAt: string;
18894
- message?: string | null;
18895
- } | null;
18896
- source?: {
18897
- /** Format: uuid */
18898
- id: string;
18899
- type: string;
18900
- /** @enum {string|null} */
18901
- status?: "active" | "inactive" | null;
18902
- } | null;
18903
- }[];
18904
- bankRecords: {
18905
- reconciled: number;
18906
- unreconciled: number;
18907
- total: number;
18908
- latestCreatedAt?: string | null;
18909
- };
18910
- balance?: {
18911
- openingDate?: string | null;
18912
- opening: number;
18913
- ending: number;
18914
- } | null;
18915
- } | null;
18916
- };
18917
- };
18918
- };
18919
- /** @description Invalid input data */
18920
- 400: {
18921
- headers: {
18922
- [name: string]: unknown;
18923
- };
18924
- content: {
18925
- "application/json": components["schemas"]["error.BAD_REQUEST"];
18926
- };
18927
- };
18928
- /** @description Authorization not provided */
18929
- 401: {
18930
- headers: {
18931
- [name: string]: unknown;
18932
- };
18933
- content: {
18934
- "application/json": components["schemas"]["error.UNAUTHORIZED"];
18935
- };
18936
- };
18937
- /** @description Insufficient access */
18938
- 403: {
18939
- headers: {
18940
- [name: string]: unknown;
18941
- };
18942
- content: {
18943
- "application/json": components["schemas"]["error.FORBIDDEN"];
18944
- };
18945
- };
18946
- /** @description Not found */
18947
- 404: {
18948
- headers: {
18949
- [name: string]: unknown;
18950
- };
18951
- content: {
18952
- "application/json": components["schemas"]["error.NOT_FOUND"];
18953
- };
18954
- };
18955
- /** @description Internal server error */
18956
- 500: {
18957
- headers: {
18958
- [name: string]: unknown;
18959
- };
18960
- content: {
18961
- "application/json": components["schemas"]["error.INTERNAL_SERVER_ERROR"];
18962
- };
18963
- };
18964
- };
18965
- };
18966
18740
  getAccount: {
18967
18741
  parameters: {
18968
18742
  query?: never;